home / cp40x

names

9 rows where case_id = 1958065

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3800452 1958065 1958065 plaintiff Lovell Thomas knight   Lovell, Thomas, knight, executors of 0
3800453 1958065 1958065 plaintiff Paston William knight   (Paston, William, knight 1
3800454 1958065 1958065 plaintiff Lovell Francis esq   Lovell, Francis, esq 2
3800455 1958065 1958065 plaintiff Carleton John gent   Carleton, John, gent 3
3800456 1958065 1958065 defendant Elys William gent 631427 631427 Elys, William, of Kiddall, Yorks, gent 0
3800457 1958065 1958065 defendant Legh Thomas esq 608432 608432 Legh, Thomas, of Middelton, Yorks, esq 1
3800458 1958065 1958065 defendant Grene James esq 631428 631428 Grene, James, of Leversall, Yorks, esq: Thorney, Henry, of Stirton, Notts, esq 2
3800459 1958065 1958065 defendant More Ralph gent 631429 631429 More, Ralph, of Austhorp, Yorks, gent 3
3800460 1958065 1958065 defendant Hardcastell Robert yeoman 619188 619188 Hardcastell, Robert, of Berwyk, Yorks, yeoman 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.655ms