home / cp40x

names

6 rows where case_id = 2403400

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5157767 2403400 2403400 plaintiff Percy Thomas knight, lord Egremount   Percy, Thomas, knight, lord Egremount 0
5157768 2403400 2403400 defendant Ussher alias Thomson John yeoman 759774 759774 Ussher alias Thomson, John, of Naffreton, yeoman 0
5157769 2403400 2403400 defendant Smyth Richard smith 854335 854335 Smyth, Richard, of Haffreton, smith 1
5157770 2403400 2403400 defendant Stephenson Robert walker 759774 759774 Stephenson, Robert, of Naffreton, walker 2
5157771 2403400 2403400 defendant Whitwell Thomas miller 759774 759774 Whitwell, Thomas, of Naffreton, miller 3
5157772 2403400 2403400 defendant Haym Thomas butcher 760102 760102 Haym, Thomas, of Wandesford, butcher 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.248ms