home / cp40x

names

7 rows where case_id = 2357816

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5003113 2357816 2357816 plaintiff Palmer John, sen     Palmer, John, sen 0
5003114 2357816 2357816 defendant Kele William baker 586286 586286 Kele, William, of Boston, baker 0
5003115 2357816 2357816 defendant Werner Richard tailor 586286 586286 Werner, Richard, of Boston, tailor 1
5003116 2357816 2357816 defendant Colvyle Simon miller 597328 597328 Colvyle, Simon, of Leke, miller 2
5003117 2357816 2357816 defendant Salter Roger laborer 593335 593335 Salter, Roger, of Toft, laborer 3
5003118 2357816 2357816 defendant Colton William baker 623893 623893 Colton, William, of Marom, baker 4
5003119 2357816 2357816 defendant Hervy John sadler 586286 586286 Hervy, John, of Boston, sadler 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 16.9ms