home / cp40x

names

7 rows where case_id = 2302747

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4821314 2302747 2302747 plaintiff Roos Thomas knight   Roos, Thomas, knight 0
4821315 2302747 2302747 defendant Stevenson Thomas gent 586750 586750 Stevenson, Thomas, of Surflete, gent 0
4821316 2302747 2302747 defendant Peke John sheerman 586286 586286 Peke, John, of Boston, sheerman 1
4821317 2302747 2302747 defendant Billyng John laborer 689933 689933 Billyng, John, of Hornecastle, laborer 2
4821318 2302747 2302747 defendant Girdelet John girdeler 586286 586286 Girdelet, John, of Boston, girdeler 3
4821319 2302747 2302747 defendant Shillyng William yeoman 586286 586286 Shillyng, William, of Boston, yeoman 4
4821320 2302747 2302747 defendant Derde Thomas baker 586286 586286 Derde, Thomas, of Boston, baker 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 8.552ms