home / cp40x

names

8 rows where case_id = 2328047

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4904583 2328047 2328047 plaintiff Tryan Oto     Tryan, Oto 0
4904584 2328047 2328047 defendant Gerveys Peter gent 819701 819701 Gerveys, Peter, of Benaleke, Cornw, gent 0
4904585 2328047 2328047 defendant Coly John tailor 819702 819702 Coly, John, of St Cory, Cornw, tailor 1
4904586 2328047 2328047 defendant Penwarne John yeoman 819703 819703 Penwarne, John, of Graunteputte, Cornw, yeoman 2
4904587 2328047 2328047 defendant Mewethym Robert smith 600539 600539 Mewethym, Robert, of Fowey, Cornw, smith 3
4904588 2328047 2328047 defendant Mewethym John laborer 819704 819704 Mewethym, John, of St Probys, Cornw, laborer 4
4904589 2328047 2328047 defendant Rodde David laborer 819705 819705 Rodde, David, of St Martyns, Cornw, laborer 5
4904590 2328047 2328047 defendant Goodale Reginald hooper 819706 819706 Goodale, Reginald, of St Cory, hooper 6

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.833ms