home / cp40x

names

6 rows where case_id = 2161765

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4391476 2161765 2161765 plaintiff Drewe Richard gent, attorney   Drewe, Richard, gent, attorney 0
4391477 2161765 2161765 defendant Roche Walter clerk 604694 604694 Roche, Walter, of Dartmouth, Devon, clerk 0
4391478 2161765 2161765 defendant Tooley Peter yeoman 670967 670967 Tooley, Peter, of Brixham, Devon, yeoman 1
4391479 2161765 2161765 defendant Newby John yeoman 599457 599457 Newby, John, of Dartmouth, yeoman 2
4391480 2161765 2161765 defendant Philpott Robert   599457 599457 Philpott, Robert, of Dartmouth, shipwright 3
4391481 2161765 2161765 defendant Gurny Thomas merchant 599457 599457 Gurny, Thomas, of Dartmouth, merchant 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 15.092ms