home / cp40x

names

7 rows where case_id = 2368051

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5038170 2368051 2368051 plaintiff Yates John     Yates, John 0
5038171 2368051 2368051 defendant Reve John clerk 645393 645393 Reve, John, of Castre Holy Trinity, clerk 0
5038172 2368051 2368051 defendant Osbern John smith 587314 587314 Osbern, John, of Sethyng, smith 1
5038173 2368051 2368051 defendant Seffray William baker 643142 643142 Seffray, William, of Trous juxta Norwich, baker 2
5038174 2368051 2368051 defendant Hill Thomas   585936 585936 Hill, Thomas, of Norwich, paten maker 3
5038175 2368051 2368051 defendant Gravour henry engraver 595315 595315 Gravour, henry, of Ormesby, engraver 4
5038176 2368051 2368051 defendant Mundford John husbandman 586531 586531 Mundford, John, of Est Somerton, husbandman 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 12.897ms