home / cp40x

names

5 rows where case_id = 1942346

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3751376 1942346 1942346 plaintiff Nevyll Richard knight, Lord Latymer   Nevyll, Richard, knight, Lord Latymer 0
3751377 1942346 1942346 defendant Watson Leonard yeoman 602245 602245 Watson, Leonard, of Westerdale, yeoman 0
3751378 1942346 1942346 defendant Fleccher Edward laborer 602245 602245 Fleccher, Edward, of Westerdale, laborer 1
3751379 1942346 1942346 defendant Strynger William laborer 602245 602245 Strynger, William, of Westerdale, laborer 2
3751380 1942346 1942346 defendant Thystylwayth Richard laborer 602245 602245 Thystylwayth, Richard, of Westerdale, laborer 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 13.705ms