home / cp40x

names

5 rows where case_id = 2368195

✎ 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
5038619 2368195 2368195 plaintiff Argent John, senior merchant 596435 596435 Argent, John, senior, of Harpeswell, merchant 0
5038620 2368195 2368195 defendant Coleby John husbandman 759996 759996 Coleby, John, of Normanby by Claxby, husbandman 0
5038621 2368195 2368195 defendant Ellerton John husbandman 838229 838229 Ellerton, John, of Herwyk by Wragry, husbandman 1
5038622 2368195 2368195 defendant Catskyn John husbandman 795361 795361 Catskyn, John, of marton by Torkesey, husbandman 2
5038623 2368195 2368195 defendant Smyth Andrew smith 652179 652179 Smyth, Andrew, of Markeby, 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 10.453ms