home / cp40x

names

6 rows where case_id = 2329241

✎ 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
4908583 2329241 2329241 plaintiff atte Lee Richard grocer 585869 585869 atte Lee, Richard, of London, grocer, on his own account 0
4908584 2329241 2329241 defendant Bolton Thomas chapman 621323 621323 Bolton, Thomas, of Selby, Yorks, chapman 0
4908585 2329241 2329241 defendant Carre Nicholas chapman 586117 586117 Carre, Nicholas, of Coventry, chapman 1
4908586 2329241 2329241 defendant Spycer William chapman 603464 603464 Spycer, William, of Bedford, Beds, chapman 2
4908587 2329241 2329241 defendant Thornton William taverner 652921 652921 Thornton, William, of Shrewsbury, Shrops, taverner 3
4908588 2329241 2329241 defendant Skrogis William chapman 604529 604529 Skrogis, William, of Ripon, Yorks, chapman 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 12.482ms