home / cp40x

names

6 rows where case_id = 2500096

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5483784 2500096 2500096 plaintiff Love or Lone Henry     Love or Lone, Henry 0
5483785 2500096 2500096 defendant Gloys Thomas husbandman 585933 585933 Gloys, Thomas, of Great Yarmouth, husbandman 0
5483786 2500096 2500096 defendant Skarburgh Nicholas yeoman 585933 585933 Skarburgh, Nicholas, of Great Yarmouth, yeoman 1
5483787 2500096 2500096 defendant Multon Roger husbandman 586877 586877 Multon, Roger, of Ranworth, husbandman 2
5483788 2500096 2500096 defendant Hoggekyn Simon husbandman 601716 601716 Hoggekyn, Simon, of Antyngham, husbandman 3
5483789 2500096 2500096 defendant Gase John husbandman 601977 601977 Gase, John, of Westwyke, 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 18.137ms