home / cp40x

names

6 rows where case_id = 2515579

✎ 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
5535336 2515579 2515579 plaintiff (not given) William prior of Bodmyn Priory   Bodmyn Priory, William, prior of 0
5535337 2515579 2515579 defendant Cokke Thomas bellfounder 587114 587114 Cokke, Thomas, of Bodmyn, bellfounder 0
5535338 2515579 2515579 defendant Audrey William dyer 632158 632158 Audrey, William, of St Laurence, dyer 1
5535339 2515579 2515579 defendant Cokke John husbandman 897383 897383 Cokke, John, of Lower Bocarne, husbandman 2
5535340 2515579 2515579 defendant Cokke John dyer 632158 632158 Cokke, John, of St Laurence, dyer 3
5535341 2515579 2515579 defendant Synderley Henry husbandman 587114 587114 Synderley, Henry, of Bodmyn, 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 20.958ms