home / cp40x

names

7 rows where case_id = 2041698

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4047910 2041698 2041698 plaintiff Styring Thomas (legal representative) 682074 682074 Styring, Thomas, of Atwyck, executors of 0
4047911 2041698 2041698 plaintiff Styring Christian his daughter   (Styring, Christian, his daughter 1
4047912 2041698 2041698 plaintiff Styryng Alice his daughter   Styryng, Alice, his daughter 2
4047913 2041698 2041698 plaintiff Harryson William     Harryson, William 3
4047914 2041698 2041698 plaintiff Harryson Jane widow of Thomas   Jane his wife, widow of Thomas 4
4047915 2041698 2041698 defendant Constable Ralph (legal representative) 682075 682075 Constable, Ralph, of the Noytht Payarke in Holdernesse, esq, executor of 0
4047916 2041698 2041698 defendant Constable John   671152 671152 Constable, John, of Constable Burton, knight 1

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