home / cp40x

names

7 rows where case_id = 2319713

✎ 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
4876789 2319713 2319713 plaintiff Spencer John     Spencer, John 0
4876790 2319713 2319713 defendant Ferthyngton John chaplain 596335 596335 Ferthyngton, John, of Tathewell, chaplain 0
4876791 2319713 2319713 defendant Ferthyngton Robert goldsmith 586981 586981 Ferthyngton, Robert, of Louth, goldsmith 1
4876792 2319713 2319713 defendant Wyom John husbandman 595315 595315 Wyom, John, of Ormesby, husbandman 2
4876793 2319713 2319713 defendant Fyssher Robert butcher 586981 586981 Fyssher, Robert, of Louth, butcher 3
4876794 2319713 2319713 defendant Robertson William husbandman 800200 800200 Robertson, William, of Calcroft, husbandman 4
4876795 2319713 2319713 defendant Thomson Robert Williamson husbandman 586981 586981 Thomson, Robert Williamson, of Louth, husbandman 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 23.789ms