home / cp40x

names

5 rows where case_id = 2116711

✎ 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
4261186 2116711 2116711 plaintiff Straye Ralph     Straye, Ralph 0
4261187 2116711 2116711 defendant Wycker John husbandman 593666 593666 Wycker, John, of Hedley, Surrey, husbandman 0
4261188 2116711 2116711 defendant Maybanck James collier 585869 585869 Maybanck, James, of London, or of Shere, Surrey, collier 1
4261189 2116711 2116711 defendant Duffyld John   687748 687748 Duffyld, John, of Lymehowse, Middx, lime man 2
4261190 2116711 2116711 defendant Rowlands Richard yeoman 629425 629425 Rowlands, Richard, of Bromeley, Kent, yeoman 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 16.336ms