home / cp40x

names

7 rows where case_id = 2438107

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5276174 2438107 2438107 plaintiff Ugylle William     Ugylle, William 0
5276175 2438107 2438107 plaintiff Andrewe Thomas     Andrewe, Thomas 1
5276176 2438107 2438107 defendant Mylle John butcher 599739 599739 Mylle, John, of Micheldever, butcher 0
5276177 2438107 2438107 defendant Clere John butcher 587777 587777 Clere, John, of New Alresford, butcher 1
5276178 2438107 2438107 defendant More Richard husbandman 867559 867559 More, Richard, of Rotherwyk, husbandman 2
5276179 2438107 2438107 defendant Bedon John butcher 853030 853030 Bedon, John, of Alton Eastbrook, butcher 3
5276180 2438107 2438107 defendant Wheler Thomas husbandman 860255 860255 Wheler, Thomas, of Heryard, husbandman 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 17.052ms