home / cp40x

names

6 rows where case_id = 1908969

✎ 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
3645397 1908969 1908969 plaintiff Grene William     Grene, William 0
3645398 1908969 1908969 defendant Wrilby Hugh esq 601453 601453 Wrilby, Hugh, of Harthill, esq 0
3645399 1908969 1908969 defendant Hunter Robert miller 601454 601454 Hunter, Robert, of Gamyston, Notts, miller 1
3645400 1908969 1908969 defendant Hawkyns Robert hatter merchant 585869 585869 Hawkyns, Robert, of London, hatter merchant 2
3645401 1908969 1908969 defendant Yon Thomas (legal representative)   Yon, Thomas, executors of 3
3645402 1908969 1908969 defendant Banastre John gent 587697 587697 (Banastre, John, of Stanforth, gent 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.231ms