home / cp40x

names

6 rows where case_id = 2160047

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4386138 2160047 2160047 plaintiff Boxsoll John     Boxsoll, John 0
4386139 2160047 2160047 defendant Turnor Thomas yeoman 644260 644260 Turnor, Thomas, of Hedley, Hants, yeoman 0
4386140 2160047 2160047 defendant Hardynge William yeoman 598242 598242 Hardynge, William, of Hedley, yeoman 1
4386141 2160047 2160047 defendant Glasyer William innholder 748877 748877 Glasyer, William, of Lyppocke, Bramshott, Hants, innholder 2
4386142 2160047 2160047 defendant Hollowaye William (legal representative) 746232 746232 Hollowaye, William, of Greetham, yeoman, executor of 3
4386143 2160047 2160047 defendant Hollowaye William yeoman 748879 748879 Hollowaye, William, of Greetham, Hants, yeoman 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 13.172ms