home / cp40x

names

6 rows where case_id = 1980184

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3869921 1980184 1980184 plaintiff Wheler Robert grocer 585869 585869 Wheler, Robert, of London, grocer 0
3869922 1980184 1980184 defendant Aylmer Nicholas clothmaker 586402 586402 Aylmer, Nicholas, of Hadley, Suff, clothmaker 0
3869923 1980184 1980184 defendant Skuchmore John clothier 585947 585947 Skuchmore, John, of Hadley, clothier 1
3869924 1980184 1980184 defendant Rutter Christopher clothier 591643 591643 Rutter, Christopher, of Naylond, Suff, clothier 2
3869925 1980184 1980184 defendant Tomson Richard clothier 591362 591362 Tomson, Richard, of Neylond, clothier 3
3869926 1980184 1980184 defendant Jacobe Walter tailor 642763 642763 Jacobe, Walter, of Barfowld, Suff, tailor 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 15.21ms