home / cp40x

names

6 rows where place_id = 795806

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4747934 2279903 2279903 defendant Norman Richard gent 795806 795806 Norman, Richard, of Rugeley, Staffs, gent 0
4866991 2316639 2316639 defendant Regley Nicholas esq 795806 795806 Regley, Nicholas, of Rugeley, Staffs, esq 3
5346868 2459179 2459179 defendant Smyth Thomas yeoman 795806 795806 Smyth, Thomas, of Rugeley, Staffs, yeoman 0
5346870 2459179 2459179 defendant More John yeoman 795806 795806 More, John, of Rugeley, Staffs, yeoman 2
5346873 2459180 2459180 defendant Wakelyn Thomas yeoman 795806 795806 Wakelyn, Thomas, of Rugeley, Staffs, yeoman 0
5602493 2535672 2535672 defendant Clemenson Edward yeoman 795806 795806 Clemenson, Edward, of Rugeley, Staffs, 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.603ms