home / cp40x

names

8 rows where case_id = 2246409

✎ 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
4651285 2246409 2246409 plaintiff Alsop John (legal representative)   Alsop, John, executor of 0
4651286 2246409 2246409 plaintiff Richardson John   624310 624310 Richardson, John, of Alsop 1
4651287 2246409 2246409 defendant Boilston Henry dwelling in Broughton, husbandman   Boilston, Henry, dwelling in Broughton, husbandman 0
4651288 2246409 2246409 defendant Clerk Hugh yeoman 587631 587631 Clerk, Hugh, of Chesterfeld, yeoman 1
4651289 2246409 2246409 defendant Waleys Joh husbandman 626408 626408 Waleys, Joh, of Bulton, husbandman 2
4651290 2246409 2246409 defendant Glapwell John husbandman 589604 589604 Glapwell, John, of Broughton, husbandman 3
4651291 2246409 2246409 defendant Bradley John husbandman 764166 764166 Bradley, John, of Scropton, husbandman 4
4651292 2246409 2246409 defendant Hygge William yeoman 587136 587136 Hygge, William, of Derby, yeoman 5

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.109ms