home / cp40x

names

10 rows where case_id = 2300087

✎ 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
4812695 2300087 2300087 plaintiff Hanley John esq 599457 599457 Hanley, John, of Dartmouth, esq 0
4812696 2300087 2300087 defendant Trapel Richard yeoman 620270 620270 Trapel, Richard, of Honyton, Devon, yeoman 0
4812697 2300087 2300087 defendant Wudbury Robert   806079 806079 Wudbury, Robert, of Taignemouth, Devon 1
4812698 2300087 2300087 defendant Bargie   master of the St Julian Hospital of the Bishop of Wincester   Bargie, master of the St Julian Hospital of the Bishop of Wincester 2
4812699 2300087 2300087 defendant Pourdewourth Roger husbandman 806080 806080 Pourdewourth, Roger, of North Burneford, Devon, husbandman 3
4812700 2300087 2300087 defendant Baion John yeoman 676833 676833 Baion, John, of Ilfercombe, Devon, yeoman 4
4812701 2300087 2300087 defendant Strete John yeoman 676833 676833 Strete, John, of Ilfercombe, Devon, yeoman 5
4812702 2300087 2300087 defendant Nicoll Walter yeoman 806081 806081 Nicoll, Walter, of Ilfrecombe, yeoman 6
4812703 2300087 2300087 defendant Barbour John yeoman 592217 592217 Barbour, John, of Chichester, Sussex, yeoman 7
4812704 2300087 2300087 defendant Combe John yeoman 615298 615298 Combe, John, of Kyngesbrygge, Devon, yeoman 8

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