home / cp40x

names

6 rows where case_id = 2343885

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4956444 2343885 2343885 plaintiff Tyrell William     Tyrell, William 0
4956445 2343885 2343885 defendant Clerk John husbandman 601768 601768 Clerk, John, of Harowe, husbandman 0
4956446 2343885 2343885 defendant Williams John husbandman 601768 601768 Williams, John, of Harowe, husbandman 1
4956447 2343885 2343885 defendant Pyreman Richard husbandman 601768 601768 Pyreman, Richard, of Harowe, husbandman 2
4956448 2343885 2343885 defendant Severych William barber 586033 586033 Severych, William, of Westminster, barber 3
4956449 2343885 2343885 defendant Dukton Thomas skinner 586033 586033 Dukton, Thomas, of Westminster, skinner 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 14.965ms