home / cp40x

names

8 rows where case_id = 2292508

✎ 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
4788651 2292508 2292508 plaintiff Hesketh Thurstan     Hesketh, Thurstan 0
4788652 2292508 2292508 defendant Quyttyngton Edmund gent 586887 586887 Quyttyngton, Edmund, of Wakefeld, gent 0
4788653 2292508 2292508 defendant Barneby Hugh butcher 586568 586568 Barneby, Hugh, of Rotherham, butcher 1
4788654 2292508 2292508 defendant Welus or Welns John dyer 586568 586568 Welus or Welns, John, of Rotherham, dyer 2
4788655 2292508 2292508 defendant Samon Thomas tailor 595156 595156 Samon, Thomas, of Cowyk, tailor 3
4788656 2292508 2292508 defendant Haliday William husbandman 769027 769027 Haliday, William, of Barneslay, husbandman 4
4788657 2292508 2292508 defendant Maunsell John husbandman 802512 802512 Maunsell, John, of Wodhagh, husbandman 5
4788658 2292508 2292508 defendant Blunt William nailer 601728 601728 Blunt, William, of Osset, nailer 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 7.058ms