home / cp40x

names

6 rows where case_id = 1919262

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3678277 1919262 1919262 plaintiff Meyny John     Meyny, John 0
3678278 1919262 1919262 defendant Trobylfeld Thomas esq 585869 585869 Trobylfeld, Thomas, of London, esq 0
3678279 1919262 1919262 defendant Swan William gent 609403 609403 Swan, William, of Southflete, Kent, gent 1
3678280 1919262 1919262 defendant Tukke Robert gent 609404 609404 Tukke, Robert, of Plukley, Kent, gent 2
3678281 1919262 1919262 defendant Meriell Henry yeoman 586691 586691 Meriell, Henry, of Byddenden, Kent, yeoman 3
3678282 1919262 1919262 defendant Watton Edmund gent 609405 609405 Watton, Edmund, of Addyngton, Kent, 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 16.41ms