home / cp40x

names

6 rows where case_id = 2406456

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5168331 2406456 2406456 plaintiff Drewe Thomas     Drewe, Thomas 0
5168332 2406456 2406456 defendant Beare John, sen fuller 853326 853326 Beare, John, sen, of Resseer, in Lansant, fuller 0
5168333 2406456 2406456 defendant Beare John jun, of Resseer in Lansant, son of John, fuller   Beare, John, jun, of Resseer in Lansant, son of John, fuller 1
5168334 2406456 2406456 defendant Phylyp John mariner 600515 600515 Phylyp, John, of Polruan, mariner 2
5168335 2406456 2406456 defendant Clerk William weaver 600515 600515 Clerk, William, of Polruan, weaver 3
5168336 2406456 2406456 defendant Lyghtfote Thomas   855556 855556 Lyghtfote, Thomas, of Trespedygowe, in Alternon, tin miner 4

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 6.47ms