home / cp40x

names

5 rows where place_id = 652016

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
3921056 1997392 1997392 defendant Mayer George husbandman 652016 652016 Mayer, George, of Asheby de la Zouche, husbandman 2
3921057 1997392 1997392 defendant Spenser Robert husbandman 652016 652016 Spenser, Robert, of Asheby de la Zouche, husbandman 3
3921058 1997392 1997392 defendant Bale Thomas husbandman 652016 652016 Bale, Thomas, of Asheby de la Zouche, husbandman 4
4153656 2079372 2079372 defendant Dukes Henry butcher 652016 652016 Dukes, Henry, of Asheby de la Zouche, butcher 0
4153657 2079372 2079372 defendant Massye William butcher 652016 652016 Massye, William, of Asheby de la Zouche, butcher 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 18.485ms