home / cp40x

names

7 rows where case_id = 2494163

✎ 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
5464060 2494163 2494163 plaintiff Stokes John (legal representative) 585869 585869 Stokes, John, of London, alderman & grocer, executor of 0
5464061 2494163 2494163 plaintiff Northland Thomas grocer 585869 585869 Northland, Thomas, of London, grocer 1
5464062 2494163 2494163 defendant Kyrkham Robert gent 636343 636343 Kyrkham, Robert, of Peterborowe, Nhants, gent 0
5464063 2494163 2494163 defendant Dadyngton William yeoman 890271 890271 Dadyngton, William, of Evysham or Evesham, Gloucs, yeoman 1
5464064 2494163 2494163 defendant Bray Robert yeoman 587335 587335 Bray, Robert, of Henley on Thames, Oxon, yeoman 2
5464065 2494163 2494163 defendant Swyft Thomas mercer 586431 586431 Swyft, Thomas, of Lychefeld, Staffs, mercer 3
5464066 2494163 2494163 defendant Fareley John mercer 586958 586958 Fareley, John, of Gloucester, mercer 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 15.44ms