home / cp40x

names

6 rows where case_id = 2413527

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5192443 2413527 2413527 plaintiff (not given) William prior of Newstead Abbey, in Shirwood   Newstead Abbey, in Shirwood, William, prior, of 0
5192444 2413527 2413527 defendant Burdale William clerk 857939 857939 Burdale, William, of Pleselay, clerk 0
5192445 2413527 2413527 defendant Parson Robert husbandman 857939 857939 Parson, Robert, of Pleselay, husbandman 1
5192446 2413527 2413527 defendant Byldon Henry husbandman 857939 857939 Byldon, Henry, of Pleselay, husbandman 2
5192447 2413527 2413527 defendant Turnour William husbandman 597471 597471 Turnour, William, of Palterton, husbandman 3
5192448 2413527 2413527 defendant Turnour Thomas husbandman 597471 597471 Turnour, Thomas, of Palterton, husbandman 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 12.482ms