home / cp40x

names

5 rows where case_id = 2536127

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5604041 2536127 2536127 plaintiff Prentyng Adam (legal representative) 585936 585936 Prentyng, Adam, of Norwich, or of Plumpsted, executors of 0
5604042 2536127 2536127 plaintiff Rogers Thomas engraver 585936 585936 (Rogers, Thomas, of Norwich, engraver 1
5604043 2536127 2536127 plaintiff Mome Robert   585936 585936 Mome, Robert, of Norwich, coverlet weaver 2
5604044 2536127 2536127 defendant Gerrard William husbandman 622087 622087 Gerrard, William, of Plumpsted, husbandman 0
5604045 2536127 2536127 defendant Shephard John husbandman 599845 599845 Shephard, John, of West Bekham, husbandman 1

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