home / cp40x

names

6 rows where case_id = 1963889

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3819187 1963889 1963889 plaintiff Mychell John merchant 633417 633417 Mychell, John, of Trurewe, merchant 0
3819188 1963889 1963889 defendant Alyn Edo cordwainer 606006 606006 Alyn, Edo, of St Enyder, cordwainer 0
3819189 1963889 1963889 defendant Plummer William plumber 634487 634487 Plummer, William, of Grampound, plumber 1
3819190 1963889 1963889 defendant George John draper 634488 634488 George, John, of Penreburgh, draper 2
3819191 1963889 1963889 defendant Lene William (legal representative)   Lene, William, executors of 3
3819192 1963889 1963889 defendant Cary John yeoman 596909 596909 (Cary, John, of Tregony, 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 12.814ms