home / cp40x

names

7 rows where case_id = 2015187

✎ 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
3973167 2015187 2015187 plaintiff Gravesend John merchant 597486 597486 Gravesend, John, of Steynyng, or of New Shorham, Sussex, merchant 0
3973168 2015187 2015187 defendant Trystrome Nicholas yeoman 664509 664509 Trystrome, Nicholas, of Freswater, Isle of Wight, Hants, yeoman 0
3973169 2015187 2015187 defendant Wassher William grocer 693424 693424 Wassher, William, of Upminster, Essex, clerk, or of London, grocer 1
3973170 2015187 2015187 defendant Ransted Richard beer brewer 592226 592226 Ransted, Richard, of Portesmouth, Hants, beer brewer 2
3973171 2015187 2015187 defendant Gravesend William yeoman 606539 606539 Gravesend, William, of New Shoreham, yeoman 3
3973172 2015187 2015187 defendant Hobsom Thomas (legal representative)   Hobsom, Thomas, executor of 4
3973173 2015187 2015187 defendant Hobsom William yeoman 664511 664511 Hobsom, William, of Storryngton, Sussex, yeoman 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.014ms