home / cp40x

names

8 rows where case_id = 1874138

✎ 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
3621038 1874138 1874138 plaintiff Miller William     Miller, William 0
3621039 1874138 1874138 defendant at Hacche Hugh yeoman 586542 586542 at Hacche, Hugh, of Charryng, yeoman 0
3621040 1874138 1874138 defendant Colt William butcher 591432 591432 Colt, William, of Galdyng, butcher 1
3621041 1874138 1874138 defendant Brent William (legal representative)   Brent, William, executors of 2
3621042 1874138 1874138 defendant Brent Thomas clerk 586033 586033 (Brent, Thomas, of Westminster, clerk 3
3621043 1874138 1874138 defendant Brent John gent 586542 586542 Brent, John, of Charryng, gent 4
3621044 1874138 1874138 defendant Budde Thomas butcher 586314 586314 Budde, Thomas, of Bromley, butcher 5
3621045 1874138 1874138 defendant Beddesham John husbandman 595571 595571 Beddesham, John, of Westram, husbandman 6

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 12.466ms