home / cp40x

names

8 rows where case_id = 2424798

✎ 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
5231499 2424798 2424798 plaintiff Bokenham Edmund esq   Bokenham, Edmund, esq 0
5231500 2424798 2424798 defendant Wylly Thomas miller 609330 609330 Wylly, Thomas, of Snyterton, miller 0
5231501 2424798 2424798 defendant Serle Thomas miller 609330 609330 Serle, Thomas, of Snyterton, miller 1
5231502 2424798 2424798 defendant Clerk Peter chapman 594283 594283 Clerk, Peter, of Tunsted, chapman 2
5231503 2424798 2424798 defendant Pomfreyt John yeoman 586168 586168 Pomfreyt, John, of Skernyng, yeoman 3
5231504 2424798 2424798 defendant Belde Thomas husbandman 586168 586168 Belde, Thomas, of Skernyng, husbandman 4
5231505 2424798 2424798 defendant Crowe John (legal representative) 587172 587172 Crowe, John, of Est Derham, husbandman, executors of 5
5231506 2424798 2424798 defendant Cok Nicholas   588126 588126 (Cok, Nicholas, of North Walsham, worsted weaver 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 17.063ms