home / cp40x

names

5 rows where case_id = 2397203

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5136541 2397203 2397203 plaintiff Oldhall William draper 597970 597970 Oldhall, William, of Feryng, draper 0
5136542 2397203 2397203 defendant Clerk John   600868 600868 Clerk, John, of Keldon, inn holder 0
5136543 2397203 2397203 defendant Hunt John   841564 841564 Hunt, John, of Salyng, matress maker 1
5136544 2397203 2397203 defendant Reynold John laborer 754988 754988 Reynold, John, of Shaldeford, laborer 2
5136545 2397203 2397203 defendant Hegge John weaver 586200 586200 Hegge, John, of Kelden, weaver 3

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 7.363ms