home / cp40x

names

7 rows where case_id = 2244515

✎ 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
4644605 2244515 2244515 plaintiff Marchaunt Stephen skinner 585869 585869 Marchaunt, Stephen, of London, skinner 0
4644606 2244515 2244515 defendant Hay Richard esq 753166 753166 Hay, Richard, of Hertfordshire, esq 0
4644607 2244515 2244515 defendant Durburgh Ralph esq   Durburgh, Ralph, esq 1
4644608 2244515 2244515 defendant Wrest John skinner 620876 620876 Wrest, John, of Markeyate, skinner 2
4644609 2244515 2244515 defendant Bradston John esq   Bradston, John, esq 3
4644610 2244515 2244515 defendant Borlee John clerk   Borlee, John, clerk 4
4644611 2244515 2244515 defendant Herreys Nicholas     Herreys, Nicholas 5

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 13.34ms