home / cp40x

names

6 rows where case_id = 1948585

✎ 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
3770894 1948585 1948585 plaintiff Stable John     Stable, John 0
3770895 1948585 1948585 defendant Harreson Robert husbandman 600475 600475 Harreson, Robert, of Wistowe, husbandman 0
3770896 1948585 1948585 defendant Smyth Thomas tailor 593140 593140 Smyth, Thomas, of South Duffeld, tailor 1
3770897 1948585 1948585 defendant Mosse John sherman 588505 588505 Mosse, John, of Recall, sherman 2
3770898 1948585 1948585 defendant Craven John painter 618020 618020 Craven, John, of Howden, painter 3
3770899 1948585 1948585 defendant Hill Robert husbandman 626569 626569 Hill, Robert, of Poclyngton, 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.937ms