home / cp40x

names

6 rows where case_id = 2029793

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4014159 2029793 2029793 plaintiff Savile Henry (legal representative) 602512 602512 Savile, Henry, of Lupsett, esq, sheriff of Yorkshire, executor of 0
4014160 2029793 2029793 plaintiff Savile William esq 674467 674467 Savile, William, of Humby, esq 1
4014161 2029793 2029793 defendant Metham or Pretham Alexander gent 598839 598839 Metham or Pretham, Alexander, of Cadeby, gent 0
4014162 2029793 2029793 defendant Shawe Adam yeoman 674468 674468 Shawe, Adam, of Hayton, Pocklington, yeoman 1
4014163 2029793 2029793 defendant Clapham William yeoman 674469 674469 Clapham, William, of Birkwith, yeoman 2
4014164 2029793 2029793 defendant Mylner Thomas yeoman 674470 674470 Mylner, Thomas, of Amerby, yeoman 3

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