home / cp40x

names

7 rows where case_id = 1920570

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3682316 1920570 1920570 plaintiff Swyllyngton Robert (legal representative)   Swyllyngton, Robert, executrix of 0
3682317 1920570 1920570 plaintiff Swyllyngton Margaret widow   Swyllyngton, Margaret, widow 1
3682318 1920570 1920570 defendant Foster George   781285 781285 Foster, George, of Aldermanston, Berks, knight 0
3682319 1920570 1920570 defendant Foster Humphrey esq 593661 593661 Foster, Humphrey, of Aldermanston, esq 1
3682320 1920570 1920570 defendant Lupton Thomas gent 586067 586067 Lupton, Thomas, of York, gent 2
3682321 1920570 1920570 defendant Gascoign Ralph gent 586067 586067 Gascoign, Ralph, of York, gent 3
3682322 1920570 1920570 defendant Constable Marmaduke esq 610183 610183 Constable, Marmaduke, of North Clyff, Yorks, esq 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 15.436ms