home / cp40x

names

6 rows where case_id = 1865814

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3594152 1865814 1865814 plaintiff Jesop John     Jesop, John 0
3594153 1865814 1865814 defendant Glover Simon glover 588338 588338 Glover, Simon, of Walyngford, Berks, glover 0
3594154 1865814 1865814 defendant Nesshe William   586228 586228 Nesshe, William, of Watlyngton, tallow chandler 1
3594155 1865814 1865814 defendant Haukwell Thomas tanner 587336 587336 Haukwell, Thomas, of Henley on Thames, tanner 2
3594156 1865814 1865814 defendant Joye John husbandman 588340 588340 Joye, John, of Hamulden, Bucks, husbandman 3
3594157 1865814 1865814 defendant Huntelowe John weaver 587336 587336 Huntelowe, John, of Henley on Thames, weaver 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 17.759ms