home / cp40x

names

7 rows where case_id = 1976106

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3857883 1976106 1976106 plaintiff Bartlet Richard (legal representative) 585869 585869 Bartlet, Richard, of London, merchant tailor, executor of 0
3857884 1976106 1976106 plaintiff Raynsby William     Raynsby, William 1
3857885 1976106 1976106 defendant Savell Leonard vicar of Bryght Hempston, Sussex   Savell, Leonard, vicar of Bryght Hempston, Sussex 0
3857886 1976106 1976106 defendant Tendall Humphrey gent 586481 586481 Tendall, Humphrey, of Bishops Lyn, gent 1
3857887 1976106 1976106 defendant Poynoz John yeoman 585869 585869 Poynoz, John, of London, yeoman 2
3857888 1976106 1976106 defendant (not given) John vicar of Gryffyth 585869 585869 Gryffyth, John, of London, vicar of Bowrwich, Sussex 3
3857889 1976106 1976106 defendant Basset John gent 585869 585869 Basset, John, of London, 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 17.776ms