home / cp40x

names

6 rows where case_id = 2325179

✎ 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
4895265 2325179 2325179 plaintiff Purchace Henry grocer 585869 585869 Purchace, Henry, of London, grocer 0
4895266 2325179 2325179 defendant Smert Richard chapman 588180 588180 Smert, Richard, of Aylesbury, Bucks, chapman 0
4895267 2325179 2325179 defendant Box William husbandman 592442 592442 Box, William, of Goutherst, Kent, husbandman 1
4895268 2325179 2325179 defendant Cardere Stephen chapman 590079 590079 Cardere, Stephen, of Cranebroke, Kent, chapman 2
4895269 2325179 2325179 defendant Bradwater William clothmaker 585864 585864 Bradwater, William, of Cranebroke, clothmaker 3
4895270 2325179 2325179 defendant Hardy Henry husbandman 818586 818586 Hardy, Henry, of Aylusbury, husbandman 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.861ms