home / cp40x

names

6 rows where case_id = 2259322

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4679898 2259322 2259322 plaintiff Langelee   in   Langelee, abbot of the monastery of the BM, in 0
4679899 2259322 2259322 defendant (not given) John vicar of Northil 782936 782936 Northil, John, of Thirkeby in Estflegg, vicar of St Margaret's church 0
4679900 2259322 2259322 defendant Bee Geoffrey husbandman 588239 588239 Bee, Geoffrey, of Yelverton, husbandman 1
4679901 2259322 2259322 defendant Sparhauk Andrew yeoman 588239 588239 Sparhauk, Andrew, of Yelverton, yeoman 2
4679902 2259322 2259322 defendant Sparhauk John yeoman 782937 782937 Sparhauk, John, of Helverton, yeoman 3
4679903 2259322 2259322 defendant Gildenwater Roger smith 586132 586132 Gildenwater, Roger, of Thurton, smith 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 11.55ms