home / cp40x

names

7 rows where case_id = 2356526

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4998794 2356526 2356526 plaintiff Kyame William ironmonger 586067 586067 Kyame, William, of York, ironmonger 0
4998795 2356526 2356526 defendant Smyth Thomas smith 832886 832886 Smyth, Thomas, of Osmonderby, by Ripon, smith 0
4998796 2356526 2356526 defendant Asby Robert smith 832887 832887 Asby, Robert, of Redemare by Middilsham, smith 1
4998797 2356526 2356526 defendant Smyth Thomas smith 832888 832888 Smyth, Thomas, of Brompton by Allerton, smith 2
4998798 2356526 2356526 defendant Waryn Thomas husbandman 824233 824233 Waryn, Thomas, of Killom on the Wold, husbandman 3
4998799 2356526 2356526 defendant Rande John smith 763211 763211 Rande, John, of Erkenden, smith 4
4998800 2356526 2356526 defendant Helde John smith 832889 832889 Helde, John, of Kyrke Grathforth, smith 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.426ms