home / cp40x

names

5 rows where case_id = 2364271

✎ 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
5025222 2364271 2364271 plaintiff Jacob Hugh     Jacob, Hugh 0
5025223 2364271 2364271 defendant Warde John husbandman 827358 827358 Warde, John, of Magna Abyngdon, husbandman 0
5025224 2364271 2364271 defendant Preston John maltman 756995 756995 Preston, John, of Haukeston, maltman 1
5025225 2364271 2364271 defendant Denys John miller 586422 586422 Denys, John, of Lynton, miller 2
5025226 2364271 2364271 defendant Monger William husbandman 836622 836622 Monger, William, of Parva Abyngdon, husbandman 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 13.524ms