home / cp40x

names

7 rows where case_id = 2377210

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5068942 2377210 2377210 plaintiff Pycot John (legal representative) 585869 585869 Pycot, John, of London, fishmonger, executrix of 0
5068943 2377210 2377210 plaintiff Pycot Katherine     Pycot, Katherine 1
5068944 2377210 2377210 defendant Fyrsse John merchant 592226 592226 Fyrsse, John, of Portesmouth, Hants, merchant 0
5068945 2377210 2377210 defendant Morton John clerk 599150 599150 Morton, John, of Grenewych, Kent, clerk 1
5068946 2377210 2377210 defendant Preest John husbandman 594110 594110 Preest, John, of Woxbrygge, Middx, husbandman 2
5068947 2377210 2377210 defendant Fywater John husbandman 842645 842645 Fywater, John, of Farnham, Bucks, husbandman 3
5068948 2377210 2377210 defendant Brede Thomas husbandman 595392 595392 Brede, Thomas, of Whitstaple, Kent, husbandman 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 19.522ms