home / cp40x

names

6 rows where case_id = 2036250

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4032411 2036250 2036250 plaintiff Garnons William gent, attorney of the bench   Garnons, William, gent, attorney of the bench 0
4032412 2036250 2036250 defendant ap Harry Watkin yeoman 658981 658981 ap Harry, Watkin, of Longtown, yeoman 0
4032413 2036250 2036250 defendant ap Watkyn Lewis ap Richard yeoman 658981 658981 ap Watkyn, Lewis ap Richard, of Longtown, yeoman 1
4032414 2036250 2036250 defendant ap Gillam Howell ap Richard yeoman 658981 658981 ap Gillam, Howell ap Richard, of Longtown, yeoman 2
4032415 2036250 2036250 defendant Lyde Thomas yeoman 657435 657435 Lyde, Thomas, of Presteyne, Radnor, yeoman 3
4032416 2036250 2036250 defendant Gitto Richard yeoman 678648 678648 Gitto, Richard, of Stepleton, yeoman 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 14.355ms