home / cp40x

names

6 rows where case_id = 2428638

✎ 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
5244756 2428638 2428638 plaintiff Pomeray William     Pomeray, William 0
5244757 2428638 2428638 defendant Stafford Isabel widow 630041 630041 Stafford, Isabel, of Abenden, widow 0
5244758 2428638 2428638 defendant Trenche Thomas osteler 863569 863569 Trenche, Thomas, of Chepyng Farynden, osteler 1
5244759 2428638 2428638 defendant Bocher John husbandman 646998 646998 Bocher, John, of Aldermaston, husbandman 2
5244760 2428638 2428638 defendant Baker John husbandman 603036 603036 Baker, John, of Hurste, husbandman 3
5244761 2428638 2428638 defendant Scot John saddler 589712 589712 Scot, John, of New Wyndesore, saddler 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 7.413ms