home / cp40x

names

6 rows where case_id = 2399094

✎ 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
5143051 2399094 2399094 plaintiff York the Master of the Hospital of St Leonard in   York, the Master of the Hospital of St Leonard, in 0
5143052 2399094 2399094 defendant Sparowe William husbandman 852503 852503 Sparowe, William, of Skit--, husbandman 0
5143053 2399094 2399094 defendant Atkynson John yeoman 699876 699876 Atkynson, John, of Aton in Cleveland, yeoman 1
5143054 2399094 2399094 defendant Burdon William   767028 767028 Burdon, William, of Carleton by Snayth 2
5143055 2399094 2399094 defendant Laton William gent 593140 593140 Laton, William, of South Duffeld, gent 3
5143056 2399094 2399094 defendant Kiddall Roger   586070 586070 Kiddall, Roger, of Beverley 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 9.077ms