home / cp40x

names

6 rows where place_id = 768138

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4546446 2214821 2214821 defendant Lo_ John   768138 768138 Lo_, John, of Yatesbury 1
4858736 2314108 2314108 defendant Tymme John husbandman 768138 768138 Tymme, John, of Yatesbury, husbandman 0
4929715 2335712 2335712 defendant Slowe Thomas husbandman 768138 768138 Slowe, Thomas, of Yatesbury, husbandman 0
4929716 2335712 2335712 defendant Lambard David husbandman 768138 768138 Lambard, David, of Yatesbury, husbandman 1
4929717 2335712 2335712 defendant Sengell Thomas husbandman 768138 768138 Sengell, Thomas, of Yatesbury, husbandman 2
5262173 2433919 2433919 defendant Colle- Richard husbandman 768138 768138 Colle-, Richard, of Yatesbury, husbandman 1

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 15.648ms