home / cp40x

names

7 rows where case_id = 2439356

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5280450 2439356 2439356 plaintiff Calowe William     Calowe, William 0
5280451 2439356 2439356 defendant Pelle John husbandman 839071 839071 Pelle, John, of Wytlessey, husbandman 0
5280452 2439356 2439356 defendant Pelle Thomas husbandman 839071 839071 Pelle, Thomas, of Wytlessey, husbandman 1
5280453 2439356 2439356 defendant Frost Thomas husbandman 595660 595660 Frost, Thomas, of Walpole, Norf, husbandman 2
5280454 2439356 2439356 defendant Sherman Robert husbandman 586057 586057 Sherman, Robert, of of Walpole, husbandman 3
5280455 2439356 2439356 defendant Reynold John husbandman 590659 590659 Reynold, John, of Leveryngton, husbandman 4
5280456 2439356 2439356 defendant Potte John brewer 868096 868096 Potte, John, of Holbeche Hyryn, Lincs, brewer 5

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.342ms