home / cp40x

names

7 rows where case_id = 2391794

✎ 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
5118319 2391794 2391794 plaintiff Reynold William (legal representative) 597809 597809 Reynold, William, of Wolpet, executors of 0
5118320 2391794 2391794 plaintiff Reynold Richard   597809 597809 (Reynold, Richard, of Wolpet 1
5118321 2391794 2391794 plaintiff Hel John   621963 621963 Hel, John, of Elmeswell 2
5118322 2391794 2391794 defendant Pryk John butcher 759271 759271 Pryk, John, of Shelleye, butcher 0
5118323 2391794 2391794 defendant Cole John hosier 585947 585947 Cole, John, of Hadley, hosier 1
5118324 2391794 2391794 defendant Russhebroke John husbandman 593818 593818 Russhebroke, John, of Brethenham, husbandman 2
5118325 2391794 2391794 defendant Hoo John husbandman 591511 591511 Hoo, John, of Stratford, 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 15.007ms