home / cp40x

names

5 rows where case_id = 2458396

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5344291 2458396 2458396 plaintiff Thurston John   633639 633639 Thurston, John, of Tydde St Giles 0
5344292 2458396 2458396 defendant Hervy Stephen husbandman 779808 779808 Hervy, Stephen, of Walpool, husbandman 0
5344293 2458396 2458396 defendant Costyn Thomas   588580 588580 Costyn, Thomas, of West Walton, butcher or husbandman, son of Costyn, Robert 1
5344294 2458396 2458396 defendant Neyton William husbandman 593852 593852 Neyton, William, of Wysbech, Cams, husbandman 2
5344295 2458396 2458396 defendant Hunt Walter yeoman 593853 593853 Hunt, Walter, of Wysbech, yeoman 3

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