home / cp40x

names

4 rows where case_id = 2368550

✎ 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
5039807 2368550 2368550 plaintiff Bothe or Booth William   603651 603651 Bothe or Booth, William, of Coventry & Lichfield, bishop 0
5039808 2368550 2368550 defendant Trot John husbandman 615704 615704 Trot, John, of Chyngford, Essex, husbandman 0
5039809 2368550 2368550 defendant Neweman John brewer 587062 587062 Neweman, John, of Totenham, Middx, brewer 1
5039810 2368550 2368550 defendant Rowe William miller 587063 587063 Rowe, William, of Totenham, miller 2

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.417ms