home / cp40x

names

8 rows where case_id = 1906662

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3637876 1906662 1906662 plaintiff Stanley James Bishop of Ely   Stanley, James, Bishop of Ely 0
3637877 1906662 1906662 defendant Lambe Thomas husbandman 591071 591071 Lambe, Thomas, of Hokwold, husbandman 0
3637878 1906662 1906662 defendant Hert William husbandman 589367 589367 Hert, William, of Wylton, husbandman 1
3637879 1906662 1906662 defendant Drynkemylke Thomas husbandman 591071 591071 Drynkemylke, Thomas, of Hokwold, husbandman 2
3637880 1906662 1906662 defendant Dykeman John husbandman 591071 591071 Dykeman, John, of Hokwold, husbandman 3
3637881 1906662 1906662 defendant Dykeman Mathew husbandman 591071 591071 Dykeman, Mathew, of Hokwold, husbandman 4
3637882 1906662 1906662 defendant Style John husbandman 591071 591071 Style, John, of Hokwold, husbandman 5
3637883 1906662 1906662 defendant Brese Thomas tailor 591071 591071 Brese, Thomas, of Hokwold, tailor 6

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.221ms