home / cp40x

names

6 rows where case_id = 2395163

✎ 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
5129655 2395163 2395163 plaintiff (not given) Richard prior of de Ledes 878643 878643 de Ledes, Richard, of Monk Bretton, prior of the Monastery, of BM Magdalene 0
5129656 2395163 2395163 defendant Mason Thomas chaplain 850148 850148 Mason, Thomas, of Bolton, on Derne, chaplain 0
5129657 2395163 2395163 defendant Bussell John husbandman 660450 660450 Bussell, John, of Hekylton, husbandman 1
5129658 2395163 2395163 defendant Perkyn John husbandman 850148 850148 Perkyn, John, of Bolton, on Derne, husbandman 2
5129659 2395163 2395163 defendant Hoton Thomas mercer 586887 586887 Hoton, Thomas, of Wakefeld, mercer 3
5129660 2395163 2395163 defendant Andesley John weaver 592288 592288 Andesley, John, of Worsburgh, weaver 4

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