home / cp40x

names

6 rows where case_id = 2311390

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4849732 2311390 2311390 plaintiff Stourton John, sen     Stourton, John, sen 0
4849733 2311390 2311390 defendant Langeto Edmund gent 812424 812424 Langeto, Edmund, of Pencryche by Craneborne, gent 0
4849734 2311390 2311390 defendant Frome Thomas   812425 812425 Frome, Thomas, of Kyngesbire, franklin 1
4849735 2311390 2311390 defendant Gerveys William clerk 796497 796497 Gerveys, William, of Queen Cammell, Soms, clerk 2
4849736 2311390 2311390 defendant Walbrond Robert tailor 587004 587004 Walbrond, Robert, of Preston, tailor 3
4849737 2311390 2311390 defendant Broun Roger draper 602298 602298 Broun, Roger, of Bridport, draper 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 5.761ms