home / cp40x

names

10 rows where case_id = 2360972

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5014074 2360972 2360972 plaintiff Basset Ralph esq   Basset, Ralph, esq 0
5014075 2360972 2360972 defendant Cowedrey John husbandman 784557 784557 Cowedrey, John, of Ilum, husbandman 0
5014076 2360972 2360972 defendant Crokeson Thomas yeoman 784557 784557 Crokeson, Thomas, of Ilum, yeoman 1
5014077 2360972 2360972 defendant Smyth John husbandman 587278 587278 Smyth, John, of Calton, husbandman 2
5014078 2360972 2360972 defendant Smyth John, junior yeoman 592819 592819 Smyth, John, junior, of Mathefeld, yeoman 3
5014079 2360972 2360972 defendant Smyth Roger husbandman 592819 592819 Smyth, Roger, of Mathefeld, husbandman 4
5014080 2360972 2360972 defendant Smyth Thomas husbandman 592819 592819 Smyth, Thomas, of Mathefeld, husbandman 5
5014081 2360972 2360972 defendant Tiddeswall Richard laborer 592819 592819 Tiddeswall, Richard, of Mathefeld, laborer 6
5014082 2360972 2360972 defendant Stokedale Robert yeoman 629901 629901 Stokedale, Robert, of Thorp, Derbs, yeoman 7
5014083 2360972 2360972 defendant Stokedale Stephen yeoman 591949 591949 Stokedale, Stephen, of Thorp, yeoman 8

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 11.696ms