home / cp40x

names

6 rows where case_id = 2471675

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5388201 2471675 2471675 plaintiff Goldsmyth (illegible) grocer 585869 585869 Goldsmyth, _, of London, grocer 0
5388202 2471675 2471675 defendant Brise John dyer 587335 587335 Brise, John, of Henley on Thames, Oxon, dyer 0
5388203 2471675 2471675 defendant (illegible) of Henley on Thames Oxon, dyer   _, of Henley on Thames, Oxon, dyer 1
5388204 2471675 2471675 defendant Butteler John dyer 605730 605730 Butteler, John, of Farnham, Surr, dyer 2
5388205 2471675 2471675 defendant Hegher John butcher 645596 645596 Hegher, John, of Oxborowe, Norf, butcher 3
5388206 2471675 2471675 defendant Hichecok Richard dyer 881690 881690 Hichecok, Richard, of St Johns, Hants, dyer 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 13.386ms