home / cp40x

names

6 rows where case_id = 2508855

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5512798 2508855 2508855 plaintiff Minte Reginald chaplain   Minte, Reginald, chaplain 0
5512799 2508855 2508855 defendant Wyse Thomas husbandman 593282 593282 Wyse, Thomas, of Drayton, husbandman 0
5512800 2508855 2508855 defendant Lyford William husbandman 640057 640057 Lyford, William, of Stevynton, husbandman 1
5512801 2508855 2508855 defendant Parson Richard husbandman 895116 895116 Parson, Richard, of Marcheham, husbandman 2
5512802 2508855 2508855 defendant Berd John husbandman 613893 613893 Berd, John, of Blubery, husbandman 3
5512803 2508855 2508855 defendant Pynnok William husbandman 895117 895117 Pynnok, William, of Hakburn, 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 16.176ms