home / cp40x

names

9 rows where case_id = 2495061

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5466929 2495061 2495061 plaintiff Bell John     Bell, John 0
5466930 2495061 2495061 defendant Cleveland William clerk   Cleveland, William, clerk 0
5466931 2495061 2495061 defendant (illegible) Thomas gent 837790 837790 _, Thomas, of Rouclyffe, gent 1
5466932 2495061 2495061 defendant Hancok William husbandman   Hancok, William, husbandman 2
5466933 2495061 2495061 defendant Hertley James weaver   Hertley, James, weaver 3
5466934 2495061 2495061 defendant Reme John     Reme, John 4
5466935 2495061 2495061 defendant Horbery John laborer   Horbery, John, laborer 5
5466936 2495061 2495061 defendant Bolton William laborer   Bolton, William, laborer 6
5466937 2495061 2495061 defendant all of Tadcaster Crosseley Richard, of Buttercram, miller   all of Tadcaster, Crosseley, Richard, of Buttercram, miller 7

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