home / cp40x

names

5 rows where case_id = 2451068

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5319996 2451068 2451068 plaintiff Hughes Agnes     Hughes, Agnes 0
5319997 2451068 2451068 defendant Catte John baker 588148 588148 Catte, John, of Watford, Herts, baker 0
5319998 2451068 2451068 defendant Croke Nicholas ostler 609253 609253 Croke, Nicholas, of Maydenhith, Berks, ostler 1
5319999 2451068 2451068 defendant Staverton John husbandman 613955 613955 Staverton, John, of Maydenhith, husbandman 2
5320000 2451068 2451068 defendant Sowen Thomas tailor 613955 613955 Sowen, Thomas, of Maydenhith, tailor 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 6.187ms