home / cp40x

names

6 rows where case_id = 2453320

✎ 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
5327569 2453320 2453320 plaintiff Varney Richard knight   Varney, Richard, knight 0
5327570 2453320 2453320 defendant Peyto John esq 589100 589100 Peyto, John, of Chesterton, esq 0
5327571 2453320 2453320 defendant Spenser John yeoman 873847 873847 Spenser, John, of Hodnyll or Hodvyll, yeoman 1
5327572 2453320 2453320 defendant Geffes Robert husbandman 873848 873848 Geffes, Robert, of Chepyngdorse, husbandman 2
5327573 2453320 2453320 defendant Makernes Richard yeoman 614451 614451 Makernes, Richard, of Nethercote, yeoman 3
5327574 2453320 2453320 defendant Byllyng Richard husbandman 589100 589100 Byllyng, Richard, of Chesterton, 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 15.212ms