home / cp40x

names

7 rows where case_id = 1971632

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3843902 1971632 1971632 plaintiff Cooke John (legal representative)   Cooke, John, executor of 0
3843903 1971632 1971632 plaintiff Oney or Ovey John     Oney or Ovey, John 1
3843904 1971632 1971632 defendant Thomas Richard yeoman 638597 638597 Thomas, Richard, of Kyrkeby on Bayn, yeoman 0
3843905 1971632 1971632 defendant Fobbe John yeoman 586284 586284 Fobbe, John, of Orby, yeoman 1
3843906 1971632 1971632 defendant Bladys William butcher 587546 587546 Bladys, William, of Halton, butcher 2
3843907 1971632 1971632 defendant Bowland Richard   587546 587546 Bowland, Richard, of Halton 3
3843908 1971632 1971632 defendant Saumer Thomas yeoman 587546 587546 Saumer, Thomas, of Halton, 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 7.303ms