home / cp40x

names

7 rows where case_id = 2442981

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5293157 2442981 2442981 plaintiff Sharp John     Sharp, John 0
5293158 2442981 2442981 defendant Pemmyrton Nicholas esq 619643 619643 Pemmyrton, Nicholas, of Codyngham, esq 0
5293159 2442981 2442981 defendant Marshall William yeoman 619643 619643 Marshall, William, of Codyngham, yeoman 1
5293160 2442981 2442981 defendant Bothe Richard yeoman 619643 619643 Bothe, Richard, of Codyngham, yeoman 2
5293161 2442981 2442981 defendant Marsham John yeoman 619643 619643 Marsham, John, of Codyngham, yeoman 3
5293162 2442981 2442981 defendant Walker Henry yeoman 619643 619643 Walker, Henry, of Codyngham, yeoman 4
5293163 2442981 2442981 defendant Felwall Hugh yeoman 619643 619643 Felwall, Hugh, of Codyngham, 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 14.86ms