home / cp40x

names

8 rows where case_id = 2347552

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4968516 2347552 2347552 plaintiff Gascoigne William knight   Gascoigne, William, knight 0
4968517 2347552 2347552 defendant Wyghton John yeoman 828606 828606 Wyghton, John, of Kyllum, yeoman 0
4968518 2347552 2347552 defendant Robynson John yeoman 589274 589274 Robynson, John, of Cotyngham, yeoman 1
4968519 2347552 2347552 defendant Hornby William yeoman 767751 767751 Hornby, William, of Malton in Rydale, yeoman 2
4968520 2347552 2347552 defendant Chapman William yeoman 828606 828606 Chapman, William, of Kyllum, yeoman 3
4968521 2347552 2347552 defendant Walker Thomas yeoman 589274 589274 Walker, Thomas, of Cotyngham, yeoman 4
4968522 2347552 2347552 defendant Williamson John husbandman 589274 589274 Williamson, John, of Cotyngham, husbandman 5
4968523 2347552 2347552 defendant Walker Robert husbandman 589274 589274 Walker, Robert, of Cotyngham, husbandman 6

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