home / cp40x

names

6 rows where case_id = 1916926

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3671093 1916926 1916926 plaintiff Carver Lawrence     Carver, Lawrence 0
3671094 1916926 1916926 defendant Crocker James husbandman 607855 607855 Crocker, James, of Trethewe, husbandman 0
3671095 1916926 1916926 defendant Tremayn Simon husbandman 607856 607856 Tremayn, Simon, of Tremayn, husbandman 1
3671096 1916926 1916926 defendant Rawe John husbandman 607856 607856 Rawe, John, of Tremayn, husbandman 2
3671097 1916926 1916926 defendant Hoskyn Henry fisher 607857 607857 Hoskyn, Henry, of Pennarth, fisher 3
3671098 1916926 1916926 defendant Pennarth Otto husbandman 607857 607857 Pennarth, Otto, of Pennarth, 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.361ms