home / cp40x

names

8 rows where case_id = 2522544

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5558864 2522544 2522544 plaintiff Purfoth William (legal representative)   Purfoth, William, executors of 0
5558865 2522544 2522544 plaintiff Purfoth Henry clerk   (Purfoth, Henry, clerk 1
5558866 2522544 2522544 plaintiff Purfoth Robert     Purfoth, Robert 2
5558867 2522544 2522544 plaintiff Purfoth Thomas     Purfoth, Thomas 3
5558868 2522544 2522544 defendant Hede John, junior husbandman 589032 589032 Hede, John, junior, of White Notley, husbandman 0
5558869 2522544 2522544 defendant Kyng Richard smith 587920 587920 Kyng, Richard, of Maldon, smith 1
5558870 2522544 2522544 defendant Bregge Andrew smith 587249 587249 Bregge, Andrew, of Chelmesford, smith 2
5558871 2522544 2522544 defendant Snowe Thomas smith 587249 587249 Snowe, Thomas, of Chelmesford, smith 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 17.0ms