home / cp40x

names

7 rows where case_id = 2530209

✎ 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
5584470 2530209 2530209 plaintiff Hanley Thomas     Hanley, Thomas 0
5584471 2530209 2530209 defendant Luce Thomas esq 585869 585869 Luce, Thomas, of London, esq 0
5584472 2530209 2530209 defendant Fox Thomas clerk 812755 812755 Fox, Thomas, of Estneston, clerk 1
5584473 2530209 2530209 defendant Barker Henry mercer 614492 614492 Barker, Henry, of Towcetter, mercer 2
5584474 2530209 2530209 defendant West Thomas yeoman 902852 902852 West, Thomas, of Hulcote, Estneston, yeoman 3
5584475 2530209 2530209 defendant Pratt John yeoman 812755 812755 Pratt, John, of Estneston, yeoman 4
5584476 2530209 2530209 defendant Jakson John yeoman 586848 586848 Jakson, John, of Northampton, yeoman 5

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.028ms