home / cp40x

names

5 rows where case_id = 1864053

✎ 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
3588513 1864053 1864053 plaintiff Beselys William esq   Beselys, William, esq 0
3588514 1864053 1864053 defendant Hurlebat Richard yeoman 586353 586353 Hurlebat, Richard, of Fynchamstede, yeoman 0
3588515 1864053 1864053 defendant Hede John yeoman 586354 586354 Hede, John, of Yatenden, yeoman 1
3588516 1864053 1864053 defendant Wyse John husbandman 586355 586355 Wyse, John, of Est Henrede, husbandman 2
3588517 1864053 1864053 defendant Leche William husbandman 586356 586356 Leche, William, of Throp, Chepyng Farynden, 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.743ms