home / cp40x

names

6 rows where case_id = 2448270

✎ 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
5310809 2448270 2448270 plaintiff Westby Edward gent   Westby, Edward, gent 0
5310810 2448270 2448270 defendant Edryche William husbandman 587063 587063 Edryche, William, of Totenham, husbandman 0
5310811 2448270 2448270 defendant Dardys John brewer 592845 592845 Dardys, John, of Edmonton, brewer 1
5310812 2448270 2448270 defendant Heryng Richard butcher 871902 871902 Heryng, Richard, of St Thustrell, butcher 2
5310813 2448270 2448270 defendant Pierson Robert laborer 592845 592845 Pierson, Robert, of Edmonton, laborer 3
5310814 2448270 2448270 defendant Heyward John husbandman 587063 587063 Heyward, John, of Totenham, husbandman 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 17.769ms