home / cp40x

names

7 rows where case_id = 2368743

✎ 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
5040433 2368743 2368743 plaintiff Brydd John     Brydd, John 0
5040434 2368743 2368743 defendant Foster Richard husbandman 609329 609329 Foster, Richard, of Bonsall, husbandman 0
5040435 2368743 2368743 defendant Wotton William husbandman 587789 587789 Wotton, William, of Longford, husbandman 1
5040436 2368743 2368743 defendant Heuster Walter yeoman 587136 587136 Heuster, Walter, of Derby, yeoman 2
5040437 2368743 2368743 defendant Gobyn John Heuster 587136 587136 Gobyn, John, of Derby, Heuster 3
5040438 2368743 2368743 defendant Offyngton John husbandman 838554 838554 Offyngton, John, of Lutchirch, husbandman 4
5040439 2368743 2368743 defendant Salford John husbandman 766147 766147 Salford, John, of Holyngton, husbandman 5

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.044ms