home / cp40x

names

6 rows where case_id = 1944957

✎ 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
3759472 1944957 1944957 plaintiff Close Richard grocer 585869 585869 Close, Richard, of London, grocer 0
3759473 1944957 1944957 defendant Smyth Thomas bedder 585970 585970 Smyth, Thomas, of Oxford, bedder 0
3759474 1944957 1944957 defendant Spencer Thomas fuller 585970 585970 Spencer, Thomas, of Oxford, fuller 1
3759475 1944957 1944957 defendant Davys John innholder 585970 585970 Davys, John, of Oxford, innholder 2
3759476 1944957 1944957 defendant Hart John yeoman 604024 604024 Hart, John, of Dartford, Kent, yeoman 3
3759477 1944957 1944957 defendant Hyll Henry yeoman 586175 586175 Hyll, Henry, of Canterbury, yeoman 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.831ms