home / cp40x

names

7 rows where case_id = 2260165

✎ 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
4682562 2260165 2260165 plaintiff Normanvile John esq   Normanvile, John, esq 0
4682563 2260165 2260165 defendant Wyntere Thomas   596435 596435 Wyntere, Thomas, of Harpeswell, bailiff 0
4682564 2260165 2260165 defendant Shirwod Robert   599178 599178 Shirwod, Robert, of Fyskerton, bailiff 1
4682565 2260165 2260165 defendant Page William, junior   589914 589914 Page, William, junior, of Navenby, bailiff 2
4682566 2260165 2260165 defendant Ferys Andrew   589412 589412 Ferys, Andrew, of Pynchebek, bailiff 3
4682567 2260165 2260165 defendant Chaundelere Jhn   783522 783522 Chaundelere, Jhn, of Naveneby, bailiff 4
4682568 2260165 2260165 defendant Pratte John   783523 783523 Pratte, John, of Honygnton, bailiff 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 13.577ms