home / cp40x

names

4 rows where case_id = 2048698

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4067517 2048698 2048698 plaintiff Jarey Robert yeoman 600924 600924 Jarey, Robert, of Walsyngham Parva, yeoman 0
4067518 2048698 2048698 defendant Moneyman Francis laborer 587901 587901 Moneyman, Francis, of Holkham, laborer 0
4067519 2048698 2048698 defendant Black Henry yeoman 604512 604512 Black, Henry, of Wighton, yeoman 1
4067520 2048698 2048698 defendant Cooke Thomas yeoman 592093 592093 Cooke, Thomas, of Wyghton, yeoman 2

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