home / cp40x

names

7 rows where case_id = 1931161

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3715584 1931161 1931161 plaintiff Button John (legal representative) 590448 590448 Button, John, of Alton, yeoman, executors of 0
3715585 1931161 1931161 plaintiff Button William     (Button, William 1
3715586 1931161 1931161 plaintiff Button Edith widow   Button, Edith, widow 2
3715587 1931161 1931161 defendant Clysled William clothmaker   Clysled, William, clothmaker, executors of 0
3715588 1931161 1931161 defendant Hylson Richard gent 586859 586859 (Hylson, Richard, of Salisbury, gent 1
3715589 1931161 1931161 defendant Loder James esq 616679 616679 Loder, James, of Lydyarde, esq 2
3715590 1931161 1931161 defendant Chever Robert husbandman 616680 616680 Chever, Robert, of Stokley, husbandman 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 13.281ms