home / cp40x

names

6 rows where case_id = 2435739

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5267942 2435739 2435739 plaintiff Amadas John goldsmith 585869 585869 Amadas, John, of London, goldsmith 0
5267943 2435739 2435739 defendant Amadas Thomas clerk 866228 866228 Amadas, Thomas, of Wynterton, Devon, clerk 0
5267944 2435739 2435739 defendant Amadas Walter draper 585869 585869 Amadas, Walter, of London, draper 1
5267945 2435739 2435739 defendant Curwen Thomas   634169 634169 Curwen, Thomas, of Cumberland, knight 2
5267946 2435739 2435739 defendant crombe Richard yeoman 585936 585936 crombe, Richard, of Norwich, yeoman 3
5267947 2435739 2435739 defendant Merston William gent 866230 866230 Merston, William, of Horton, Surr, 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 16.611ms