home / cp40x

names

7 rows where case_id = 2257488

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4674024 2257488 2257488 plaintiff Deye Robert     Deye, Robert 0
4674025 2257488 2257488 plaintiff Chaundelere William   594919 594919 Chaundelere, William, of Fynden 1
4674026 2257488 2257488 defendant Cook Hugh butcher 605500 605500 Cook, Hugh, of Henlowe, Beds, butcher 0
4674027 2257488 2257488 defendant Cook John butcher 597338 597338 Cook, John, of Henlowe, butcher 1
4674028 2257488 2257488 defendant Twyn Mary widow 591067 591067 Twyn, Mary, of Elmedon, Essex, widow 2
4674029 2257488 2257488 defendant Twyn Richard butcher 613071 613071 Twyn, Richard, of Elmedon, butcher 3
4674030 2257488 2257488 defendant Porter John butcher 781716 781716 Porter, John, of Haselyngfeld, Cambs, butcher 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.872ms