home / cp40x

names

8 rows where case_id = 2248280

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4657632 2248280 2248280 plaintiff Cokerell Katherine     Cokerell, Katherine 0
4657633 2248280 2248280 defendant Mascall Roger esq 757631 757631 Mascall, Roger, of Elmesete, esq 0
4657634 2248280 2248280 defendant Cattymere John husbandman 778926 778926 Cattymere, John, of Sudburne, husbandman 1
4657635 2248280 2248280 defendant Mannyng Roger ploughman 778926 778926 Mannyng, Roger, of Sudburne, ploughman 2
4657636 2248280 2248280 defendant Mascall Elias esq 585869 585869 Mascall, Elias, of London, esq 3
4657637 2248280 2248280 defendant Letylgrome John, junior pedder 594726 594726 Letylgrome, John, junior, of Orford, pedder 4
4657638 2248280 2248280 defendant Heygham John ploughman 594726 594726 Heygham, John, of Orford, ploughman 5
4657639 2248280 2248280 defendant Heygham Hugh shipman 594726 594726 Heygham, Hugh, of Orford, shipman 6

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