home / cp40x

names

7 rows where case_id = 2412008

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5187280 2412008 2412008 plaintiff Harvy Thomas     Harvy, Thomas 0
5187281 2412008 2412008 defendant Frankeleyn John husbandman 857364 857364 Frankeleyn, John, of Clauxston, husbandman 0
5187282 2412008 2412008 defendant Frankeleyn John husbandman 857365 857365 Frankeleyn, John, of Clauston, in the Vale, husbandman 1
5187283 2412008 2412008 defendant Smyth Robert husbandman 857366 857366 Smyth, Robert, of Leyr, husbandman 2
5187284 2412008 2412008 defendant Taylard William husbandman 620001 620001 Taylard, William, of Sheynton, husbandman 3
5187285 2412008 2412008 defendant Bote William husbandman 661209 661209 Bote, William, of Shakeston, husbandman 4
5187286 2412008 2412008 defendant Hardwyn John   857367 857367 Hardwyn, John, of Naylston, husband 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 15.543ms