home / cp40x

names

8 rows where case_id = 2220842

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4565724 2220842 2220842 plaintiff Sothill Gerard knight   Sothill, Gerard, knight 0
4565725 2220842 2220842 defendant Ekkilsale Robert     Ekkilsale, Robert 0
4565726 2220842 2220842 defendant Garwell Robert   761312 761312 Garwell, Robert, of Herpeswell 1
4565727 2220842 2220842 defendant Cameryngham William de     Cameryngham, William de 2
4565728 2220842 2220842 defendant Whitechurche John   770211 770211 Whitechurche, John, of Atherby 3
4565729 2220842 2220842 defendant Candelsby (illegible)   770212 770212 Candelsby, _, of Snarteforth 4
4565730 2220842 2220842 defendant Wryght John   590134 590134 Wryght, John, of Redburn 5
4565731 2220842 2220842 defendant West Henry   586724 586724 West, Henry, of Waltham 6

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