home / cp40x

names

6 rows where case_id = 1907382

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3640229 1907382 1907382 plaintiff Yerneley John     Yerneley, John 0
3640230 1907382 1907382 defendant Pyrton William esq 585869 585869 Pyrton, William, of London, esq 0
3640231 1907382 1907382 defendant Archer John, senior esq 585869 585869 Archer, John, senior, of London, esq 1
3640232 1907382 1907382 defendant Trevylyon George clerk 585869 585869 Trevylyon, George, of London, clerk 2
3640233 1907382 1907382 defendant Baynham Alexander   637326 637326 Baynham, Alexander, of Westbury, Glos, knight 3
3640234 1907382 1907382 defendant Cornewall Thomas   597898 597898 Cornewall, Thomas, of Burford, Salop, knight 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 15.623ms