home / cp40x

names

5 rows where case_id = 2322474

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4885959 2322474 2322474 plaintiff Weton Richard     Weton, Richard 0
4885960 2322474 2322474 defendant Benytson John   817362 817362 Benytson, John, of Skyrne, yeomam 0
4885961 2322474 2322474 defendant Hellerd John husbandman 817363 817363 Hellerd, John, of Rodstane, husbandman 1
4885962 2322474 2322474 defendant Bolsore Thomas husbandman 595178 595178 Bolsore, Thomas, of Weton, husbandman 2
4885963 2322474 2322474 defendant Jakson William husbandman 589522 589522 Jakson, William, of Clyff, husbandman 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 11.787ms