home / cp40x

names

5 rows where case_id = 2089119

✎ 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
4181807 2089119 2089119 plaintiff Nycoll John attorney   Nycoll, John, attorney 0
4181808 2089119 2089119 defendant Bromwich Roger gent 588011 588011 Bromwich, Roger, of Rosse, Herefs, gent 0
4181809 2089119 2089119 defendant Webbe John yeoman 612250 612250 Webbe, John, of Bromesbarowe, Glos, yeoman 1
4181810 2089119 2089119 defendant Badam John clerk 710103 710103 Badam, John, of Brydstowe, Herefs, clerk 2
4181811 2089119 2089119 defendant Byrde Thomas husbandman 672988 672988 Byrde, Thomas, of Huntley, Glos, husbandman 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 12.271ms