home / cp40x

names

8 rows where case_id = 2464826

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5365316 2464826 2464826 plaintiff Bele Roger     Bele, Roger 0
5365317 2464826 2464826 plaintiff Bustell William     Bustell, William 1
5365318 2464826 2464826 plaintiff Payn William     Payn, William 2
5365319 2464826 2464826 plaintiff Aleyn Thomas     Aleyn, Thomas 3
5365320 2464826 2464826 defendant Hylle William   589546 589546 Hylle, William, of Yatton, free mason 0
5365321 2464826 2464826 defendant Wever alias Mydwynter William husbandman 589546 589546 Wever alias Mydwynter, William, of Yatton, husbandman 1
5365322 2464826 2464826 defendant Crosse John carpenter 670103 670103 Crosse, John, of Nempnet, carpenter 2
5365323 2464826 2464826 defendant Crosse Thomas carpenter 588855 588855 Crosse, Thomas, of Langford, carpenter 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 15.126ms