home / cp40x

names

7 rows where place_id = 790654

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4719666 2271498 2271498 defendant Ubank Richard forester 790654 790654 Ubank, Richard, of Stanesmore, forester 0
4801263 2296583 2296583 plaintiff Wilson Thomas   790654 790654 Wilson, Thomas, of Stanesmore 0
4862532 2315269 2315269 defendant Del Geels John yeoman 790654 790654 Del Geels, John, of Stanesmore, yeoman 2
4876806 2319717 2319717 defendant Bokill Thomas yeoman 790654 790654 Bokill, Thomas, of Stanesmore, yeoman 2
4876807 2319717 2319717 defendant Bokill Thomas laborer 790654 790654 Bokill, Thomas, of Stanesmore, laborer 3
4942843 2339733 2339733 defendant Aytegyll Thomas yeoman 790654 790654 Aytegyll, Thomas, of Stanesmore, yeoman 0
4942844 2339733 2339733 defendant Aytegyll John yeoman 790654 790654 Aytegyll, John, of Stanesmore, yeoman 1

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