home / cp40x

names

6 rows where case_id = 1952248

✎ 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
3782430 1952248 1952248 plaintiff Howlott John     Howlott, John 0
3782431 1952248 1952248 defendant Bristo Thomas husbandman 622888 622888 Bristo, Thomas, of Wilnall, husbandman 0
3782432 1952248 1952248 defendant Sheldon Richard carver 605373 605373 Sheldon, Richard, of Tetnall Regis, carver 1
3782433 1952248 1952248 defendant Gaunte Henry tailor 613694 613694 Gaunte, Henry, of Womborn, tailor 2
3782434 1952248 1952248 defendant Haworth John miller 627719 627719 Haworth, John, of Bishbury, miller 3
3782435 1952248 1952248 defendant Barton Ralph tailor 588127 588127 Barton, Ralph, of Wolverhampton, tailor 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 15.809ms