home / cp40x

names

7 rows where case_id = 2202176

✎ 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
4505259 2202176 2202176 plaintiff Smyth John   596792 596792 Smyth, John, of Horncastell 0
4505260 2202176 2202176 defendant Tenelby Thomas   764364 764364 Tenelby, Thomas, of Thornton in Horncastell 0
4505261 2202176 2202176 defendant Braytoft Robert   626498 626498 Braytoft, Robert, of South Somercotes 1
4505262 2202176 2202176 defendant Cartewryght John   613015 613015 Cartewryght, John, of Edlyngton 2
4505263 2202176 2202176 defendant Deld-- John de clerk   Deld--, John de, clerk 3
4505264 2202176 2202176 defendant Flemmyng John   586286 586286 Flemmyng, John, of Boston 4
4505265 2202176 2202176 defendant Elmyngton John pedder   Elmyngton, John, pedder 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 13.286ms