home / cp40x

names

6 rows where case_id = 2123894

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4282822 2123894 2123894 plaintiff Vavasor William (legal representative)   Vavasor, William, administrator of 0
4282823 2123894 2123894 plaintiff Vavasor William     Vavasor, William 1
4282824 2123894 2123894 defendant Blitheman Jasper or Yorkshire gent   Blitheman, Jasper or Yorkshire, gent 0
4282825 2123894 2123894 defendant Ridlesdale Christopher blacksmith 587058 587058 Ridlesdale, Christopher, of Sutton, blacksmith 1
4282826 2123894 2123894 defendant Carter John yeoman 729496 729496 Carter, John, of Conysthorpe, yeoman 2
4282827 2123894 2123894 defendant Walworthe John   729497 729497 Walworthe, John, of Walworthe gent 3

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