home / cp40x

names

9 rows where case_id = 2338860

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4939872 2338860 2338860 plaintiff Cumberworth Thomas knight   Cumberworth, Thomas, knight 0
4939873 2338860 2338860 defendant Mykylbergh John clerk 656746 656746 Mykylbergh, John, of Cumberworth, clerk 0
4939874 2338860 2338860 defendant Walton John husbandman 656746 656746 Walton, John, of Cumberworth, husbandman 1
4939875 2338860 2338860 defendant Skepper Walter skipper 824997 824997 Skepper, Walter, of Marun, skipper 2
4939876 2338860 2338860 defendant Hardy Robert husbandman 824998 824998 Hardy, Robert, of Kynardby, husbandman 3
4939877 2338860 2338860 defendant Nynery or Nyvery William husbandman 591465 591465 Nynery or Nyvery, William, of Malberthorp, husbandman 4
4939878 2338860 2338860 defendant Watkynson John husbandman 591465 591465 Watkynson, John, of Malberthorp, husbandman 5
4939879 2338860 2338860 defendant Wynter Gilbert husbandman 591465 591465 Wynter, Gilbert, of Malberthorp, husbandman 6
4939880 2338860 2338860 defendant Preston Thomas husbandman 591465 591465 Preston, Thomas, of Malberthorp, husbandman 7

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