home / cp40x

names

6 rows where case_id = 1863965

✎ 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
3588198 1863965 1863965 plaintiff Basset William esq, sheriff of Notts   Basset, William, esq, sheriff of Notts 0
3588199 1863965 1863965 defendant Rykyns Thomas yeoman 586221 586221 Rykyns, Thomas, of Bremyam, Warks, yeoman 0
3588200 1863965 1863965 defendant Cook Richard husbandman 586222 586222 Cook, Richard, of Barre, husbandman 1
3588201 1863965 1863965 defendant Elys Thomas yeoman 586222 586222 Elys, Thomas, of Barre, yeoman 2
3588202 1863965 1863965 defendant Wrasteler William yeoman 586223 586223 Wrasteler, William, of Walsale, yeoman 3
3588203 1863965 1863965 defendant Smyth William husbandman 586222 586222 Smyth, William, of Barre, husbandman 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 12.873ms