home / cp40x

names

8 rows where case_id = 2384781

✎ 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
5094439 2384781 2384781 plaintiff Rowedon John clerk   Rowedon, John, clerk, executors of 0
5094440 2384781 2384781 plaintiff Naylesmere Henry     (Naylesmere, Henry 1
5094441 2384781 2384781 plaintiff Smart Henry     Smart, Henry 2
5094442 2384781 2384781 defendant Hurs- John weaver 585925 585925 Hurs-, John, of Bristol,weaver 0
5094443 2384781 2384781 defendant Osbarne John parson of Gratele   Osbarne, John, parson of Gratele 1
5094444 2384781 2384781 defendant Dod Henry husbandman 767440 767440 Dod, Henry, of Brughton, husbandman 2
5094445 2384781 2384781 defendant Chafyn Edgar vicar of Michedever   Chafyn, Edgar, vicar of Michedever 3
5094446 2384781 2384781 defendant More Robert husbandman 645192 645192 More, Robert, of Ambresbury, Wilts, 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 18.449ms