home / cp40x

names

5 rows where case_id = 2247777

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4656068 2247777 2247777 plaintiff (not given) William abbot of Bury St Edmunds Abbey   Bury St Edmunds Abbey, William, abbot of 0
4656069 2247777 2247777 defendant Gauter John husbandman 586405 586405 Gauter, John, of Nedham Market, husbandman 0
4656070 2247777 2247777 defendant Cole John husbandman 586405 586405 Cole, John, of Nedham Market, husbandman 1
4656071 2247777 2247777 defendant Taston Thomas husbandman 586405 586405 Taston, Thomas, of Nedham Market, husbandman 2
4656072 2247777 2247777 defendant Cook John husbandman 586405 586405 Cook, John, of Nedham Market, 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.178ms