home / cp40x

names

7 rows where case_id = 2259538

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4680585 2259538 2259538 plaintiff Lonysdale John   586784 586784 Lonysdale, John, of Burgh 0
4680586 2259538 2259538 defendant Meryman Henry yeoman 783097 783097 Meryman, Henry, of Astom, yeoman 0
4680587 2259538 2259538 defendant Deweker Richard husbandman 767328 767328 Deweker, Richard, of Thirneby, husbandman 1
4680588 2259538 2259538 defendant Shephird Robert husbandman 783098 783098 Shephird, Robert, of Dolfauby, Cumbs, husbandman 2
4680589 2259538 2259538 defendant Smyth John yeoman 783099 783099 Smyth, John, of Culgarth, Cumbs, yeoman 3
4680590 2259538 2259538 defendant Bryg John husbandman 762882 762882 Bryg, John, of Culgayth, husbandman 4
4680591 2259538 2259538 defendant Haylyn John   783100 783100 Haylyn, John, of Oyser, shepherd 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.44ms