home / cp40x

names

7 rows where case_id = 2236165

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4616525 2236165 2236165 plaintiff Fulthorp William knight   Fulthorp, William, knight 0
4616526 2236165 2236165 defendant Clyveland John vicar of the church, in Kirkeby by Broghton, in   Clyveland, John, vicar of the church, in Kirkeby by Broghton, in 0
4616527 2236165 2236165 defendant Poklay John   681132 681132 Poklay, John, of Kirkeby, parish clerk 1
4616528 2236165 2236165 defendant Birkhede John   769779 769779 Birkhede, John, of Bildesdale 2
4616529 2236165 2236165 defendant Prestmanson John   604555 604555 Prestmanson, John, of Grenehowe 3
4616530 2236165 2236165 defendant Snaweballe alias Tyndale John   604555 604555 Snaweballe alias Tyndale, John, of Grenehowe 4
4616531 2236165 2236165 defendant Bates John     Bates, John 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 12.681ms