home / cp40x

names

7 rows where case_id = 1973935

✎ 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
3851102 1973935 1973935 plaintiff Orrey Robert     Orrey, Robert 0
3851103 1973935 1973935 defendant A Dene William pewterer 609248 609248 A Dene, William, of Ryngwod, pewterer 0
3851104 1973935 1973935 defendant Bydelcom John, junior husbandman 609248 609248 Bydelcom, John, junior, of Ryngwod, husbandman 1
3851105 1973935 1973935 defendant Bedelcom John, senior husbandman 609248 609248 Bedelcom, John, senior, of Ryngwod, husbandman 2
3851106 1973935 1973935 defendant Byston John husbandman 609248 609248 Byston, John, of Ryngwod, husbandman 3
3851107 1973935 1973935 defendant Foster Richard husbandman 609248 609248 Foster, Richard, of Ryngwod, husbandman 4
3851108 1973935 1973935 defendant Saunder Richard husbandman 609248 609248 Saunder, Richard, of Ryngwod, 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 18.603ms