home / cp40x

names

6 rows where case_id = 1987854

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3892841 1987854 1987854 plaintiff Ogle Richard gent   Ogle, Richard, gent 0
3892842 1987854 1987854 defendant Hedley William husbandman 586504 586504 Hedley, William, of Frampton, husbandman 0
3892843 1987854 1987854 defendant Leke Thomas mercer 586286 586286 Leke, Thomas, of Boston, mercer 1
3892844 1987854 1987854 defendant Hubberd Stephen laborer 594426 594426 Hubberd, Stephen, of Benyngton, laborer 2
3892845 1987854 1987854 defendant Waren Edward yeoman 646785 646785 Waren, Edward, of Foldyke, yeoman 3
3892846 1987854 1987854 defendant Chetylle Roman husbandman 587074 587074 Chetylle, Roman, of Donyngton, 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 16.315ms