home / cp40x

names

10 rows where case_id = 2489950

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5450213 2489950 2489950 plaintiff Petyt Michael     Petyt, Michael 0
5450214 2489950 2489950 defendant Rous Andrew husbandman 888864 888864 Rous, Andrew, of Tregesevys, husbandman 0
5450215 2489950 2489950 defendant Skete (illegible) husbandman 888865 888865 Skete, _, of Trevans in St Austel, husbandman 1
5450216 2489950 2489950 defendant Trethowell Richard husbandman 879672 879672 Trethowell, Richard, of Trethowell, husbandman 2
5450217 2489950 2489950 defendant Carthu John husbandman 879673 879673 Carthu, John, of Perrys, husbandman 3
5450218 2489950 2489950 defendant Rawelyn Benedict husbandman 888866 888866 Rawelyn, Benedict, of Caru, husbandman 4
5450219 2489950 2489950 defendant Gwynnowe   Nicholas, of Trevon, husbandman   Gwynnowe, , Nicholas, of Trevon, husbandman 5
5450220 2489950 2489950 defendant Bosthowe John husbandman 888867 888867 Bosthowe, John, of Bosthowe, husbandman 6
5450221 2489950 2489950 defendant Hendy Ralph husbandman 888868 888868 Hendy, Ralph, of Brongollowe, husbandman 7
5450222 2489950 2489950 defendant Skete Robert husbandman 888869 888869 Skete, Robert, of Trembeth, husbandman 8

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 12.134ms