home / cp40x

names

6 rows where case_id = 1868561

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3602846 1868561 1868561 plaintiff Clopton John esq   Clopton, John, esq 0
3602847 1868561 1868561 defendant Scalder John grocer 586953 586953 Scalder, John, of Sudbury, grocer 0
3602848 1868561 1868561 defendant Femott Peter yeoman 587715 587715 Femott, Peter, of Cokefeld, yeoman 1
3602849 1868561 1868561 defendant Sparowe John husbandman 586956 586956 Sparowe, John, of Semer, husbandman 2
3602850 1868561 1868561 defendant Turnour John graver 586081 586081 Turnour, John, of Foxherd, graver 3
3602851 1868561 1868561 defendant Tey John plumber 587324 587324 Tey, John, of Ratlysden, plumber 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 14.809ms