home / cp40x

names

7 rows where case_id = 2304839

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4828119 2304839 2304839 plaintiff Adecok Richard   601861 601861 Adecok, Richard, of Thorp Langton, Leics 0
4828120 2304839 2304839 plaintiff Adecok John   808782 808782 Adecok, John, of Sutton on Weland 1
4828121 2304839 2304839 defendant langton Thomas gent 690263 690263 langton, Thomas, of West Langton, Leics, gent 0
4828122 2304839 2304839 defendant langton Alice     Alice, his wife 1
4828123 2304839 2304839 defendant Assheby Thomas gent 808783 808783 Assheby, Thomas, of Lawesby, gent 2
4828124 2304839 2304839 defendant Palmer John gent 610031 610031 Palmer, John, of Carleton, Nhants, gent 3
4828125 2304839 2304839 defendant Boseworth Robert   794024 794024 Boseworth, Robert, of Haverburgh, Leics, single man 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 15.31ms