home / cp40x

names

7 rows where case_id = 2364822

✎ 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
5027180 2364822 2364822 plaintiff Lysle John knight   Lysle, John, knight 0
5027181 2364822 2364822 defendant Crooke Richard husbandman 836828 836828 Crooke, Richard, of Crokkernestoke, husbandman 0
5027182 2364822 2364822 defendant Tailor Richard laborer 836829 836829 Tailor, Richard, of St Mary Borne, laborer 1
5027183 2364822 2364822 defendant Gerard William carpenter 836830 836830 together with Gerard, William, of Uptoiin, carpenter 2
5027184 2364822 2364822 defendant Gome Richard husbandman 836831 836831 Gome, Richard, of Hurseborne, husbandman 3
5027185 2364822 2364822 defendant Baron John laborer 593694 593694 Baron, John, of Andever, laborer 4
5027186 2364822 2364822 defendant Molsey John tucker 836832 836832 Molsey, John, of Sy Mary Borne, tucker 5

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.512ms