home / cp40x

names

10 rows where case_id = 2221440

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4567620 2221440 2221440 plaintiff Thorp William     Thorp, William 0
4567621 2221440 2221440 defendant Bowear John   586388 586388 Bowear, John, of Stoke Hamond, parson 0
4567622 2221440 2221440 defendant Carpenter Hugh   757473 757473 Carpenter, Hugh, of Lyllyngston Dayrell, parson 1
4567623 2221440 2221440 defendant Boys Hugh     Boys, Hugh 2
4567624 2221440 2221440 defendant Stanbrigge John     Stanbrigge, John 3
4567625 2221440 2221440 defendant Thede Thomas     Thede, Thomas 4
4567626 2221440 2221440 defendant Guethe Richard     Guethe, Richard 5
4567627 2221440 2221440 defendant Leveriche John farcarter   Leveriche, John, farcarter 6
4567628 2221440 2221440 defendant Preest Nicholas   594631 594631 Preest, Nicholas, of Leyghton Busard, formerly vicar 7
4567629 2221440 2221440 defendant Capenter Thomas     Capenter, Thomas 8

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