home / cp40x

names

8 rows where case_id = 2521108

✎ 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
5553653 2521108 2521108 plaintiff Grey Cecilia Marchioness of Dorset, widow   Grey, Cecilia, Marchioness of Dorset, widow 0
5553654 2521108 2521108 defendant Gilliot Thomas husbandman 764825 764825 Gilliot, Thomas, of Wyrkyngton, husbandman 0
5553655 2521108 2521108 defendant Spencer Richard husbandman 764825 764825 Spencer, Richard, of Wyrkyngton, husbandman 1
5553656 2521108 2521108 defendant Hunter William husbandman 764825 764825 Hunter, William, of Wyrkyngton, husbandman 2
5553657 2521108 2521108 defendant Pyper John husbandman 764825 764825 Pyper, John, of Wyrkyngton, husbandman 3
5553658 2521108 2521108 defendant Banke Robert husbandman 764825 764825 Banke, Robert, of Wyrkyngton, husbandman 4
5553659 2521108 2521108 defendant Thomson Robert husbandman 590152 590152 Thomson, Robert, of Clyfton, husbandman 5
5553660 2521108 2521108 defendant Symson John clerk 603406 603406 Symson, John, of Haryngton, clerk 6

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