home / cp40x

names

5 rows where case_id = 2528818

✎ 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
5579978 2528818 2528818 plaintiff Broun Margaret widow 585936 585936 Broun, Margaret, of Norwich, widow 0
5579979 2528818 2528818 defendant Dey William merchant 585907 585907 Dey, William, of Bishops Lenn, merchant 0
5579980 2528818 2528818 defendant Dey John merchant 800012 800012 Dey, John, of Wyneton, merchant 1
5579981 2528818 2528818 defendant Arnold William gent 596323 596323 Arnold, William, of Cromer, gent 2
5579982 2528818 2528818 defendant Dawbeney Thomas gent 587201 587201 Dawbeney, Thomas, of Sharyngton, gent 3

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