home / cp40x

names

6 rows where case_id = 2031004

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4017598 2031004 2031004 plaintiff Ticheborne Lionel     Ticheborne, Lionel 0
4017599 2031004 2031004 defendant Halle Thomas esq 585927 585927 Halle, Thomas, of Bradford, Wilts, esq 0
4017600 2031004 2031004 defendant Hungerford Henry gent 586859 586859 Hungerford, Henry, of Salisbury, gent 1
4017601 2031004 2031004 defendant Kynge Edward yeoman 675218 675218 Kynge, Edward, of Brode Chalke, Wilts, yeoman 2
4017602 2031004 2031004 defendant Bright John gent 675219 675219 Bright, John, of Wynterborne Stoke, Wilts, gent 3
4017603 2031004 2031004 defendant Thornehill Robert gent 640871 640871 Thornehill, Robert, of Charleton, Wilts, gent 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 16.207ms