home / cp40x

names

9 rows where case_id = 1948732

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3771352 1948732 1948732 plaintiff Style John (legal representative) 589942 589942 Style, John, of Bobbyng, executor of 0
3771353 1948732 1948732 plaintiff Stewen John clerk   Stewen, John, clerk 1
3771354 1948732 1948732 defendant Graungeman John (legal representative) 589972 589972 Graungeman, John, of Borden, executor of 0
3771355 1948732 1948732 defendant Graungeman William husbandman 589972 589972 Graungeman, William, of Borden, husbandman 1
3771356 1948732 1948732 defendant Style William husbandman 626647 626647 Style, William, of Newednen, husbandman 2
3771357 1948732 1948732 defendant Balye William husbandman 589942 589942 Balye, William, of Bobbyng, husbandman 3
3771358 1948732 1948732 defendant Mores Alexander husbandman 590990 590990 Mores, Alexander, of Newenton, husbandman 4
3771359 1948732 1948732 defendant Joye John (legal representative) 593171 593171 Joye, John, of Milton, executor of 5
3771360 1948732 1948732 defendant Joye John husbandman 593171 593171 Joye, John, of Milton, husbandman 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 14.762ms