home / cp40x

names

7 rows where case_id = 2370673

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5046826 2370673 2370673 plaintiff Mundson John merchant 594963 594963 Mundson, John, of East Rasyn, merchant 0
5046827 2370673 2370673 defendant Haryngton John gent 622825 622825 Haryngton, John, of Brantham, gent 0
5046828 2370673 2370673 defendant Saltby John (legal representative) 622825 622825 Saltby, John, of Brantham, gent, executors of 1
5046829 2370673 2370673 defendant Waren James   657093 657093 (Waren, James, of Okeham, Rutl, franklin 2
5046830 2370673 2370673 defendant Waren Agnes     Agnes, his wife 3
5046831 2370673 2370673 defendant Selby John, senior yeoman 757617 757617 Selby, John, senior, of Kynyerdby, yeoman 4
5046832 2370673 2370673 defendant Lyndesey John mercer 839655 839655 Lyndesey, John, of Glaunfordbryg, mercer 5

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 7.799ms