home / cp40x

names

5 rows where case_id = 2084279

✎ 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
4167957 2084279 2084279 plaintiff Bagnall William     Bagnall, William 0
4167958 2084279 2084279 defendant Whytton Christopher gent 707439 707439 Whytton, Christopher, of Powycke, gent 0
4167959 2084279 2084279 defendant Trovell Richard gent 609049 609049 Trovell, Richard, of Cradley, Herefs, gent 1
4167960 2084279 2084279 defendant Hancox John gent 620953 620953 Hancox, John, of Bromyard, Herefs, gent 2
4167961 2084279 2084279 defendant Bennett Richard tailor 675563 675563 Bennett, Richard, of Tewxburye, Glos, tailor 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 15.863ms