home / cp40x

names

9 rows where case_id = 2220461

✎ 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
4564497 2220461 2220461 plaintiff Sayvill John knight   Sayvill, John, knight 0
4564498 2220461 2220461 defendant Barbour William   600457 600457 Barbour, William, of Malton 0
4564499 2220461 2220461 defendant del Lea_ Henry     del Lea_, Henry 1
4564500 2220461 2220461 defendant Bysshop Thomas   628252 628252 Bysshop, Thomas, of Otlay 2
4564501 2220461 2220461 defendant Ingilby William     Ingilby, William 3
4564502 2220461 2220461 defendant atte Marre John   759426 759426 atte Marre, John, of Hugate 4
4564503 2220461 2220461 defendant Polerd John   586067 586067 Polerd, John, of York 5
4564504 2220461 2220461 defendant Haliday John   707067 707067 Haliday, John, of Wentbrig 6
4564505 2220461 2220461 defendant Bollerby Henry     Bollerby, Henry 7

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