home / cp40x

names

7 rows where case_id = 2497709

✎ 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
5475630 2497709 2497709 plaintiff Stokes John (legal representative) 585869 585869 Stokes, John, of London, Alderman & grocer, executor of 0
5475631 2497709 2497709 plaintiff Northland Thomas Alderman & grocer 585869 585869 Northland, Thomas, of London, Alderman & grocer 1
5475632 2497709 2497709 defendant Kyrkeham Robert gent 636343 636343 Kyrkeham, Robert, of Peterborowe, Nhants, gent 0
5475633 2497709 2497709 defendant Dadyngton William yeoman 889058 889058 Dadyngton, William, of Evysham, Gloucs, yeoman 1
5475634 2497709 2497709 defendant Bray Robert yeoman 655136 655136 Bray, Robert, of Henley upon Thames, Oxon, yeoman 2
5475635 2497709 2497709 defendant Swyft Thomas mercer 590962 590962 Swyft, Thomas, of Lichefeld, Staffs, mercer 3
5475636 2497709 2497709 defendant Fareley John mercer 780266 780266 Fareley, John, of Gloucester, Gloucs, 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.448ms