home / cp40x

names

6 rows where case_id = 2502515

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5492000 2502515 2502515 plaintiff Clerk Thomas     Clerk, Thomas 0
5492001 2502515 2502515 defendant Michell Robert husbandman 587998 587998 Michell, Robert, of Millowe, husbandman 0
5492002 2502515 2502515 defendant Andrewe John husbandman 587058 587058 Andrewe, John, of Sutton, husbandman 1
5492003 2502515 2502515 defendant Miller John miller 586934 586934 Miller, John, of Stotfold, miller 2
5492004 2502515 2502515 defendant Gybson Robert husbandman 892957 892957 Gybson, Robert, of Kynges Walden, Essex, husbandman 3
5492005 2502515 2502515 defendant Knyght Thomas husbandman 774355 774355 Knyght, Thomas, of Kynges Walden, 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 14.436ms