home / cp40x

names

5 rows where case_id = 2122006

✎ 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
4277359 2122006 2122006 plaintiff Fytche William     Fytche, William 0
4277360 2122006 2122006 defendant Collumbell Francis husbandman 631188 631188 Collumbell, Francis, of Vange, husbandman 0
4277361 2122006 2122006 defendant Burley Thomas yeoman 728483 728483 Burley, Thomas, of Fynchingfeild, yeoman 1
4277362 2122006 2122006 defendant Legg Edward yeoman 587920 587920 Legg, Edward, of Maldon, or of Tillingham, yeoman 2
4277363 2122006 2122006 defendant Turke Thomas yeoman 686464 686464 Turke, Thomas, of Romforde, yeoman 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 14.831ms