home / cp40x

names

7 rows where case_id = 2432114

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5256361 2432114 2432114 plaintiff Derman John     Derman, John 0
5256362 2432114 2432114 defendant Halsted Robert reeder 586180 586180 Halsted, Robert, of Bury St Edmunds, reeder 0
5256363 2432114 2432114 defendant Grene Robert carpenter 586180 586180 Grene, Robert, of Bury St Edmunds, carpenter 1
5256364 2432114 2432114 defendant Mathewe Richard husbandman 598090 598090 Mathewe, Richard, of Hunston, husbandman 2
5256365 2432114 2432114 defendant Shragger Simon sawyer 586180 586180 Shragger, Simon, of Bury St Edmunds, sawyer 3
5256366 2432114 2432114 defendant Lee Thomas carpenter 625333 625333 Lee, Thomas, of Hornyngeserth, carpenter 4
5256367 2432114 2432114 defendant Lamberd William husbandman 587400 587400 Lamberd, William, of Coulynge, husbandman 5

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