home / cp40x

names

7 rows where case_id = 2535545

✎ 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
5602078 2535545 2535545 plaintiff Lytton Robert gent   Lytton, Robert, gent, executor of 0
5602079 2535545 2535545 plaintiff Basford Edward gent   Basford, Edward, gent 1
5602080 2535545 2535545 defendant Pereson Richard husbandman 639807 639807 Pereson, Richard, of Whittyngton, husbandman 0
5602081 2535545 2535545 defendant Couper John husbandman 639807 639807 Couper, John, of Whittyngton, husbandman 1
5602082 2535545 2535545 defendant Sylvestre Thomas husbandman 639807 639807 Sylvestre, Thomas, of Whittyngton, husbandman 2
5602083 2535545 2535545 defendant Knutton John husbandman 639807 639807 Knutton, John, of Whittyngton, husbandman 3
5602084 2535545 2535545 defendant Dakyn Thomas yeoman 771705 771705 Dakyn, Thomas, of Chelmarton, yeoman 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 19.586ms