home / cp40x

names

9 rows where case_id = 2167598

✎ 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
4408952 2167598 2167598 plaintiff Tast John attorney   Tast, John,attorney 0
4408953 2167598 2167598 defendant Bacon John yeoman 752701 752701 Bacon, John, of Stebinheath, Middx, yeoman 0
4408954 2167598 2167598 defendant Gregory William tailor 585869 585869 Gregory, William, of London, or of Westminster, tailor 1
4408955 2167598 2167598 defendant Woodward William carpenter 585869 585869 Woodward, William, of London, or of Westminster, carpenter 2
4408956 2167598 2167598 defendant Hughes Cornelius brasier 586033 586033 Hughes, Cornelius, of Westminster, brasier 3
4408957 2167598 2167598 defendant Burd Christiana widow 586033 586033 Burd, Christiana, of Westminster, widow 4
4408958 2167598 2167598 defendant Ingold Lionel gent 587460 587460 Ingold, Lionel, of Sudbury, Suff, gent 5
4408959 2167598 2167598 defendant Newton Peter yeoman 586953 586953 Newton, Peter, of Sudbury, yeoman 6
4408960 2167598 2167598 defendant Bore John clothier 589818 589818 Bore, John, of Laneham, Suff, clothier 7

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