home / cp40x

names

10 rows where case_id = 2198213

✎ 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
4492073 2198213 2198213 plaintiff Wyllys John   599282 599282 Wyllys, John, of Enford 0
4492074 2198213 2198213 defendant Alwreth Richard     Alwreth, Richard 0
4492075 2198213 2198213 defendant atte Watere Richard   762874 762874 atte Watere, Richard, of Frodyngbrugge 1
4492076 2198213 2198213 defendant Lokkesley William     Lokkesley, William 2
4492077 2198213 2198213 defendant Caudell or Candell James     Caudell or Candell, James 3
4492078 2198213 2198213 defendant Tredgold William   762875 762875 Tredgold, William, of Ovre 4
4492079 2198213 2198213 defendant Bristowe Robert     with Bristowe, Robert 5
4492080 2198213 2198213 defendant Smyth Henry   599282 599282 Smyth, Henry, of Enford 6
4492081 2198213 2198213 defendant Bestelawe Nicholas     Bestelawe, Nicholas 7
4492082 2198213 2198213 defendant Bestelawe William     Bestelawe, William 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 16.383ms