home / cp40x

names

7 rows where case_id = 2463410

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5360808 2463410 2463410 plaintiff Smart John grocer 585869 585869 Smart, John, of London, grocer 0
5360809 2463410 2463410 plaintiff Halle Robert grocer 585869 585869 Halle, Robert, of London, grocer 1
5360810 2463410 2463410 defendant Cosyn William clothmaker 586470 586470 Cosyn, William, of Colchester, clothmaker 0
5360811 2463410 2463410 defendant Vertewe John, senior dyer 586470 586470 Vertewe, John, senior, of Colchester, dyer 1
5360812 2463410 2463410 defendant Warnere William clothmaker 591291 591291 Warnere, William, of Dedham, Essex, clothmaker 2
5360813 2463410 2463410 defendant Warnere John clothmaker 594969 594969 Warnere, John, of Dedham, clothmaker 3
5360814 2463410 2463410 defendant Lenehous or Levehous William clothmaker 599345 599345 Lenehous or Levehous, William, of Stratford, Suff, clothmaker 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 14.461ms