home / cp40x

names

7 rows where case_id = 2461629

✎ 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
5354980 2461629 2461629 plaintiff Hoton John clerk   Hoton, John, clerk 0
5354981 2461629 2461629 defendant Prentyse William yeoman 626443 626443 Prentyse, William, of Brendewode, Essex, yeoman 0
5354982 2461629 2461629 defendant Dagger Richard baker 590678 590678 Dagger, Richard, of Alvetheley, Essex, baker 1
5354983 2461629 2461629 defendant Benet Thomas chapman 591721 591721 Benet, Thomas, of Alvetheley, chapman 2
5354984 2461629 2461629 defendant Smyth William tailor 591721 591721 Smyth, William, of Alvetheley, tailor 3
5354985 2461629 2461629 defendant Broun John tailor 591721 591721 Broun, John, of Alvetheley, tailor 4
5354986 2461629 2461629 defendant Scott John   591721 591721 Scott, John, of Alvetheley, surgeon 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 19.768ms