home / cp40x

names

5 rows where case_id = 2031740

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4019607 2031740 2031740 plaintiff Webbe Thomas   599377 599377 Webbe, Thomas, of Mounton 0
4019608 2031740 2031740 defendant Wathen Thomas yeoman 675672 675672 Wathen, Thomas, of Treberen, yeoman 0
4019609 2031740 2031740 defendant Wathen William   675673 675673 Wathen, William, of Tregeren, yeoman, his son 1
4019610 2031740 2031740 defendant Seymur John yeoman 675674 675674 Seymur, John, of Pengenly, yeoman 2
4019611 2031740 2031740 defendant Seymur Richard yeoman 675674 675674 Seymur, Richard, of Pengenly, 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 16.527ms