home / cp40x

names

7 rows where case_id = 2364824

✎ 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
5027196 2364824 2364824 plaintiff Lysle John knight   Lysle, John, knight 0
5027197 2364824 2364824 defendant Gerard William carpenter 586005 586005 Gerard, William, of Upton, carpenter 0
5027198 2364824 2364824 defendant Gome Richard husbandman 836831 836831 Gome, Richard, of Hurseborne, husbandman 1
5027199 2364824 2364824 defendant Baron John laborer 593694 593694 Baron, John, of Andever, laborer 2
5027200 2364824 2364824 defendant Molsey John tucker 836829 836829 Molsey, John, of St Mary Borne, tucker 3
5027201 2364824 2364824 defendant Crooke Richard husbandman 836828 836828 together with Crooke, Richard, of Crokkernestoke, husbandman 4
5027202 2364824 2364824 defendant Tailour Richard laborer 836829 836829 Tailour, Richard, of St Mary Borne, laborer 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 6.189ms