home / cp40x

names

6 rows where case_id = 2356572

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4998967 2356572 2356572 plaintiff Kyrkeby Thomas     Kyrkeby, Thomas 0
4998968 2356572 2356572 defendant Darcy John lord Darcy of Templehurst, Yorks   Darcy, John, lord Darcy of Templehurst, Yorks 0
4998969 2356572 2356572 defendant Longford John gent 832909 832909 Longford, John, of Longford, Lancs, gent 1
4998970 2356572 2356572 defendant Westethorp Christopher gent 585869 585869 Westethorp, Christopher, of London, gent 2
4998971 2356572 2356572 defendant Chetewyn John esq 832910 832910 Chetewyn, John, of Aston, Shropshire, esq 3
4998972 2356572 2356572 defendant Godfrey Thomas husbandman 632648 632648 Godfrey, Thomas, of Wylmyngton, Kent, 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 15.735ms