home / cp40x

names

6 rows where case_id = 1906998

✎ 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
3638917 1906998 1906998 plaintiff Vernon William     Vernon, William 0
3638918 1906998 1906998 defendant Parker John husbandman 599932 599932 Parker, John, of Radwey, Audeley, husbandman 0
3638919 1906998 1906998 defendant Blore John husbandman 599933 599933 Blore, John, of Holleyns, Audeley, husbandman 1
3638920 1906998 1906998 defendant Aldynger Ralph husbandman 588483 588483 Aldynger, Ralph, of Audeley, husbandman 2
3638921 1906998 1906998 defendant Byrk John husbandman 599934 599934 Byrk, John, of Apedale, husbandman 3
3638922 1906998 1906998 defendant Bourn Robert husbandman 595623 595623 Bourn, Robert, of Knotton, 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 16.246ms