home / cp40x

names

6 rows where case_id = 2389313

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5109863 2389313 2389313 plaintiff Goly Thomas skinner 585869 585869 Goly, Thomas, of London, skinner 0
5109864 2389313 2389313 defendant Everyngham Thomas (legal representative) 586067 586067 Everyngham, Thomas, of York, esq, executors of 0
5109865 2389313 2389313 defendant Everyngham Thomas esq 655394 655394 (Everyngham, Thomas, of Shefeld, Yorks, esq 1
5109866 2389313 2389313 defendant Everyngham Margaret widow 622547 622547 Everyngham, Margaret, of Shefeld, widow 2
5109867 2389313 2389313 defendant Styward John executorsof   Styward, John, executorsof 3
5109868 2389313 2389313 defendant Marchall Henry yeoman 607672 607672 (Marchall, Henry, of Wodebrigge, Suff, 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 16.497ms