home / cp40x

names

8 rows where case_id = 2415758

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5200012 2415758 2415758 plaintiff Whyte Simon     Whyte, Simon 0
5200013 2415758 2415758 defendant Crak Thomas yeoman 613626 613626 Crak, Thomas, of Kymbalton, Hunts, yeoman 0
5200014 2415758 2415758 defendant Bowelast Thomas yeoman 596992 596992 Bowelast, Thomas, of Kymbalton, yeoman 1
5200015 2415758 2415758 defendant Baret Thomas yeoman 596992 596992 Baret, Thomas, of Kymbalton, yeoman 2
5200016 2415758 2415758 defendant Fyssher John   596992 596992 Fyssher, John, of Kymbalton, glove maker 3
5200017 2415758 2415758 defendant Bowelast Richard yeoman 585978 585978 Bowelast, Richard, of St Neots, Hunts, yeoman 4
5200018 2415758 2415758 defendant Walsshe Roger yeoman 596992 596992 Walsshe, Roger, of Kymbalton, yeoman 5
5200019 2415758 2415758 defendant Rysley       Rysley, 6

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