home / cp40x

names

6 rows where case_id = 2393156

✎ 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
5122998 2393156 2393156 plaintiff Wattys Thomas draper 585869 585869 Wattys, Thomas, of London, draper 0
5122999 2393156 2393156 defendant Acreman Richard gent 585869 585869 Acreman, Richard, of London, gent 0
5123000 2393156 2393156 defendant Baron Richard yeoman 586033 586033 Baron, Richard, of Westminster, yeoman 1
5123001 2393156 2393156 defendant Yonge John yeoman 585869 585869 Yonge, John, of London, yeoman 2
5123002 2393156 2393156 defendant Baldewyn John yeoman 648407 648407 Baldewyn, John, of Hunton, Kent, yeoman 3
5123003 2393156 2393156 defendant Stone Henry merchant 586848 586848 Stone, Henry, of Northampton, merchant 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 13.515ms