home / cp40x

names

7 rows where case_id = 2477946

✎ 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
5409944 2477946 2477946 plaintiff Bradley Thomas clerk   Bradley, Thomas, clerk, executor of 0
5409945 2477946 2477946 plaintiff Cole Thomas     Cole, Thomas 1
5409946 2477946 2477946 defendant Wombewell Robert (legal representative) 593232 593232 Wombewell, Robert, of Berkewey, innholder, executrix of 0
5409947 2477946 2477946 defendant Wombewell Katherine widow 586020 586020 Wombewell, Katherine, of Berkewey, Herts, widow 1
5409948 2477946 2477946 defendant Dunham Robert clerk & master of the house & churche of St John Evangelist 782849 782849 Dunham, Robert, of Cambridge, Cambs, clerk & master of the house & churche of St John Evangelist 2
5409949 2477946 2477946 defendant Gryme Nicholas brewer 588081 588081 Gryme, Nicholas, of Cambridge, brewer 3
5409950 2477946 2477946 defendant Donall John, junior brewer 588081 588081 Donall, John, junior, of Cambridge, brewer 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 15.865ms