home / cp40x

names

7 rows where case_id = 2418968

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5211076 2418968 2418968 plaintiff Wasshist John     Wasshist, John 0
5211077 2418968 2418968 defendant Barker Thomas tanner 589180 589180 Barker, Thomas, of Halesworth, Suff, tanner 0
5211078 2418968 2418968 defendant Barker Joan     Joan, his wife 1
5211079 2418968 2418968 defendant Dryver William baker 598220 598220 Dryver, William, of Halesworth, baker 2
5211080 2418968 2418968 defendant Baret William jun, of Bykelburgh, yeoman   Baret, William, jun, of Bykelburgh, yeoman 3
5211081 2418968 2418968 defendant Forward John yeoman 798006 798006 Forward, John, of Eyk, Suffolk, yeoman 4
5211082 2418968 2418968 defendant Sellyng Richard yeoman 588355 588355 Sellyng, Richard, of South Elmham, Suff, yeoman 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 9.372ms