home / cp40x

names

7 rows where case_id = 2516064

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5537017 2516064 2516064 plaintiff Coke Richard     Coke, Richard 0
5537018 2516064 2516064 plaintiff Baston Robert     Baston, Robert 1
5537019 2516064 2516064 plaintiff Pecoke William     Pecoke, William 2
5537020 2516064 2516064 defendant Lamberd John (legal representative) 587058 587058 Lamberd, John, of Sutton, yeoman, executors of 0
5537021 2516064 2516064 defendant Lamberd William clerk 588081 588081 (Lamberd, William, of Cambridge, clerk 1
5537022 2516064 2516064 defendant Male Lawrence yeoman 587058 587058 Male, Lawrence, of Sutton, yeoman 2
5537023 2516064 2516064 defendant Gowke Simon husbandman 594135 594135 Gowke, Simon, of Tydde St Mary, husbandman 3

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