home / cp40x

names

8 rows where case_id = 1928012

✎ 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
3705515 1928012 1928012 plaintiff Hanshawe William (legal representative) 586958 586958 Hanshawe, William, of Gloucester, bellfounder, executor of 0
3705516 1928012 1928012 plaintiff Staunford Thomas     Staunford, Thomas 1
3705517 1928012 1928012 defendant Turve Richard yeoman 594738 594738 Turve, Richard, of Parshore, Worcs, yeoman 0
3705518 1928012 1928012 defendant Cosnet William yeoman 591688 591688 Cosnet, William, of Parshore, yeoman 1
3705519 1928012 1928012 defendant Smythe Simon yeoman 591688 591688 Smythe, Simon, of Parshore, yeoman 2
3705520 1928012 1928012 defendant Lemster John yeoman 591688 591688 Lemster, John, of Parshore, yeoman 3
3705521 1928012 1928012 defendant Ledebery Thomas yeoman 591688 591688 Ledebery, Thomas, of Parshore, yeoman 4
3705522 1928012 1928012 defendant Shropshire Thomas yeoman 591688 591688 Shropshire, Thomas, of Parshore, yeoman 5

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