home / cp40x

names

7 rows where case_id = 2160567

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4387838 2160567 2160567 plaintiff Canon Simon     Canon, Simon 0
4387839 2160567 2160567 defendant Tomson Simon shoemaker 585869 585869 Tomson, Simon, of London, shoemaker 0
4387840 2160567 2160567 defendant Cowdrey Robert butcher 585869 585869 Cowdrey, Robert, of London, or of St Giles in the Fields, Middx, butcher 1
4387841 2160567 2160567 defendant Colstock Thomas yeoman 659207 659207 Colstock, Thomas, of Uxbridge, Middx, yeoman 2
4387842 2160567 2160567 defendant Cogan Richard (legal representative)   Cogan, Richard, executors of 3
4387843 2160567 2160567 defendant Cogan Francis schoolmaster 749172 749172 (Cogan, Francis, of Elinge, Middx, schoolmaster 4
4387844 2160567 2160567 defendant Cogan Agnes widow 674992 674992 Cogan, Agnes, of Elinge, widow 5

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