home / cp40x

names

6 rows where case_id = 1954161

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3788364 1954161 1954161 plaintiff Smythe Thomas     Smythe, Thomas 0
3788365 1954161 1954161 defendant Man James tanner 629452 629452 Man, James, of Haverhell, Suff, tanner 0
3788366 1954161 1954161 defendant Blower John fletcher 611798 611798 Blower, John, of Castell Henyngham, Essex, fletcher 1
3788367 1954161 1954161 defendant Haloke Richard husbandman 629453 629453 Haloke, Richard, of Bawsam, husbandman 2
3788368 1954161 1954161 defendant Algood Robert carpenter 598097 598097 Algood, Robert, of West Wykham, carpenter 3
3788369 1954161 1954161 defendant Webbe John husbandman 598097 598097 Webbe, John, of West Wykham, husbandman 4

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 14.314ms