home / cp40x

names

8 rows where case_id = 2534585

✎ 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
5599039 2534585 2534585 plaintiff Gandy Thomas     Gandy, Thomas 0
5599040 2534585 2534585 defendant Mosse Andrew butcher 604796 604796 Mosse, Andrew, of Loddon, Norf, butcher 0
5599041 2534585 2534585 defendant Godlad John husbandman 615598 615598 Godlad, John, of Bekelys, husbandman 1
5599042 2534585 2534585 defendant Sandecroft William husbandman 587187 587187 Sandecroft, William, of Laxfeld, husbandman 2
5599043 2534585 2534585 defendant Fulcher Robert tailor 586363 586363 Fulcher, Robert, of Bungey, tailor 3
5599044 2534585 2534585 defendant Fulcher Thomas husbandman 586363 586363 Fulcher, Thomas, of Bungey, husbandman 4
5599045 2534585 2534585 defendant Feke Thomas husbandman 821247 821247 Feke, Thomas, of Mendeham, husbandman 5
5599046 2534585 2534585 defendant Thorne Thomas miller 904403 904403 Thorne, Thomas, of Stowe juxta Nedeham, miller 6

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