home / cp40x

names

6 rows where case_id = 1954095

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3788166 1954095 1954095 plaintiff Skarnyng Richard     Skarnyng, Richard 0
3788167 1954095 1954095 defendant Zouche William esq 590569 590569 Zouche, William, of Bulwyk, Nhants, esq 0
3788168 1954095 1954095 defendant Crips Thomas husbandman 626427 626427 Crips, Thomas, of Castell Eton, Wilts, husbandman 1
3788169 1954095 1954095 defendant Prior Richard husbandman 629410 629410 Prior, Richard, of Castell Eton, husbandman 2
3788170 1954095 1954095 defendant Slatter John husbandman 626428 626428 Slatter, John, of Hampton Meysy, husbandman 3
3788171 1954095 1954095 defendant Blyth Richard husbandman 626428 626428 Blyth, Richard, of Hampton Meysy, husbandman 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 13.763ms