home / cp40x

names

6 rows where case_id = 2501374

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5488215 2501374 2501374 plaintiff Waren Robert     Waren, Robert 0
5488216 2501374 2501374 defendant Base John carpenter 626443 626443 Base, John, of Brendewode, Essex, carpenter 0
5488217 2501374 2501374 defendant Grove Margaret widow 585869 585869 Grove, Margaret, of London, widow 1
5488218 2501374 2501374 defendant Kyrkeman Thomas capper 585869 585869 Kyrkeman, Thomas, of London, capper 2
5488219 2501374 2501374 defendant Elwold Alexander yeoman 585869 585869 Elwold, Alexander, of London, yeoman 3
5488220 2501374 2501374 defendant Floret Robert yeoman 892555 892555 Floret, Robert, of Bargholt, Robert, Suff, yeoman 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 8.176ms