home / cp40x

names

6 rows where case_id = 2370775

✎ 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
5047166 2370775 2370775 plaintiff Nyche Thomas mercer 585869 585869 Nyche, Thomas, of London, mercer 0
5047167 2370775 2370775 defendant Bere John goldsmith 585936 585936 Bere, John, of Norwich, goldsmith 0
5047168 2370775 2370775 defendant Pryce John vintner 780398 780398 Pryce, John, of Bishop's Lenn, Norf, vintner 1
5047169 2370775 2370775 defendant Mey John vintner 585936 585936 Mey, John, of Norwich, vintner 2
5047170 2370775 2370775 defendant Heyward John merchant 604018 604018 Heyward, John, of Colchester, Essex, merchant 3
5047171 2370775 2370775 defendant Pynne John merchant 617009 617009 Pynne, John, of Yarmouth, Norf, merchant 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.213ms