home / cp40x

names

7 rows where case_id = 2304052

✎ 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
4825611 2304052 2304052 plaintiff Valois Katherine de   804664 804664 Valois, Katherine de, of England, Queen 0
4825612 2304052 2304052 defendant Barton Thomas yeoman 758079 758079 Barton, Thomas, of Appilby, yeoman 0
4825613 2304052 2304052 defendant Rygat Thomas yeoman 594050 594050 Rygat, Thomas, of Hether, yeoman 1
4825614 2304052 2304052 defendant Okethorp Thomas yeoman 808364 808364 Okethorp, Thomas, of Okethorp, Derbs, yeoman 2
4825615 2304052 2304052 defendant Abney Thomas gent 808365 808365 Abney, Thomas, of Wylkesley, Derbs, gent 3
4825616 2304052 2304052 defendant Tayllour John yeoman 587137 587137 Tayllour, John, of Appulby, Leics, yeoman 4
4825617 2304052 2304052 defendant Marley Thmas yeoman 861298 861298 Marley, Thmas, of Neuton, Boteller, Leics, yeoman 5

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