home / cp40x

names

6 rows where case_id = 2498965

✎ 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
5479787 2498965 2498965 plaintiff Cokshote Christopher     Cokshote, Christopher 0
5479788 2498965 2498965 defendant Gamull John husbandman 587919 587919 Gamull, John, of Edynstowe, husbandman 0
5479789 2498965 2498965 defendant Gefferay Robert husbandman 652792 652792 Gefferay, Robert, of Long Colyngham, husbandman 1
5479790 2498965 2498965 defendant Symson William husbandman 605672 605672 Symson, William, of Wellowe, husbandman 2
5479791 2498965 2498965 defendant Offerton John tailor 681378 681378 Offerton, John, of Swynderby, Lincs, tailor 3
5479792 2498965 2498965 defendant Radclyffe John husbandman 620630 620630 Radclyffe, John, of Swynderby, 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 12.46ms