home / cp40x

names

10 rows where case_id = 2325374

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4895849 2325374 2325374 plaintiff Thwaytes Henry     Thwaytes, Henry 0
4895850 2325374 2325374 defendant Wod Hugh husbandman 818645 818645 Wod, Hugh, of Mekylthwayte, husbandman 0
4895851 2325374 2325374 defendant Botrell John laborer 774259 774259 Botrell, John, of Kenethorp, laborer 1
4895852 2325374 2325374 defendant Plummer Richard plumber 586093 586093 Plummer, Richard, of Selby, plumber 2
4895853 2325374 2325374 defendant Johnson Robert husbandman 616660 616660 Johnson, Robert, of Willerby, husbandman 3
4895854 2325374 2325374 defendant Botrell Roger husbandman 774259 774259 Botrell, Roger, of Kenethorp, husbandman 4
4895855 2325374 2325374 defendant Langwath John yeoman 709023 709023 Langwath, John, of Heslyngton, yeoman 5
4895856 2325374 2325374 defendant Botrell Robert husbandman 774259 774259 Botrell, Robert, of Kenethorp, husbandman 6
4895857 2325374 2325374 defendant Lide William husbandman 755600 755600 Lide, William, of Bubwyth, husbandman 7
4895858 2325374 2325374 defendant Flesshewer Thomas yeoman 589401 589401 Flesshewer, Thomas, of Scardeburgh, yeoman 8

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 12.242ms