home / cp40x

names

6 rows where case_id = 2521112

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5553679 2521112 2521112 plaintiff Grey Richard ironmonger 585869 585869 Grey, Richard, of London, ironmonger 0
5553680 2521112 2521112 defendant Wythe Thomas yeoman 899439 899439 Wythe, Thomas, of Draytwych, Worcs, yeoman 0
5553681 2521112 2521112 defendant Mason William husbandman 899440 899440 Mason, William, of Sawcott, Bucks, husbandman 1
5553682 2521112 2521112 defendant Spicer Thomas of St Mary Bourn Hants, mercer   Spicer, Thomas of St Mary Bourn, Hants, mercer 2
5553683 2521112 2521112 defendant Benet Richard chapman 591848 591848 Benet, Richard, of Watlyngton, Oxon, chapman 3
5553684 2521112 2521112 defendant Horton Richard gent 899441 899441 Horton, Richard, of Newboter, Nhants, 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 14.442ms