home / cp40x

names

6 rows where case_id = 1904853

✎ 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
3632085 1904853 1904853 plaintiff Harryson John     Harryson, John 0
3632086 1904853 1904853 defendant Duffeld Humphrey mercer 598349 598349 Duffeld, Humphrey, of Myldenhall, Suff, mercer 0
3632087 1904853 1904853 defendant Wynter Thomas husbandman 598350 598350 Wynter, Thomas, of Fordham Hith, husbandman 1
3632088 1904853 1904853 defendant Butte William husbandman 588697 588697 Butte, William, of Shuldham Thorp, husbandman 2
3632089 1904853 1904853 defendant Fayerbank William tailor 597739 597739 Fayerbank, William, of Northwold, tailor 3
3632090 1904853 1904853 defendant Goodehall John innholder 586387 586387 Goodehall, John, of Southerey, innholder 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 13.345ms