home / cp40x

names

6 rows where case_id = 2514627

✎ 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
5532236 2514627 2514627 plaintiff Tego John (legal representative) 585907 585907 Tego, John, of Bishops Lenn, draper, executors of 0
5532237 2514627 2514627 plaintiff Tego Batilda widow   (Tego, Batilda, widow 1
5532238 2514627 2514627 plaintiff Amfles William     Amfles, William 2
5532239 2514627 2514627 defendant Kyllyngworth Richard yeoman 588845 588845 Kyllyngworth, Richard, of Grymston, yeoman 0
5532240 2514627 2514627 defendant Kenston John yeoman 586229 586229 Kenston, John, of South Lenn, yeoman 1
5532241 2514627 2514627 defendant Prewberd Richard yeoman 628366 628366 Prewberd, Richard, of Congham St Andrew, yeoman 2

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 12.376ms