home / cp40x

names

6 rows where case_id = 1997392

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3921053 1997392 1997392 plaintiff Over henry mercer 586117 586117 Over, henry, of Coventry, mercer 0
3921054 1997392 1997392 defendant Cauldewell William draper 590605 590605 Cauldewell, William, of Burton on Trent, Staffs, draper 0
3921055 1997392 1997392 defendant Spenser John butcher 652015 652015 Spenser, John, of Asheby de la Zouche, Leics, butcher 1
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

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