home / cp40x

names

6 rows where case_id = 1944669

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3758538 1944669 1944669 plaintiff Butte Henry     Butte, Henry 0
3758539 1944669 1944669 defendant Bense Thomas of Dalanghoo husbandman   Bense, Thomas of Dalanghoo, husbandman 0
3758540 1944669 1944669 defendant Smyth Roger tanner 590362 590362 Smyth, Roger, of Eston, tanner 1
3758541 1944669 1944669 defendant Lowder Richard husbandman 590244 590244 Lowder, Richard, of Donwich, husbandman 2
3758542 1944669 1944669 defendant Byrche Robert cooper 599157 599157 Byrche, Robert, of Sowthold, cooper 3
3758543 1944669 1944669 defendant Tyler John tailor 591807 591807 Tyler, John, of Ottley, tailor 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.905ms