home / cp40x

names

6 rows where case_id = 1973327

✎ 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
3849132 1973327 1973327 plaintiff Latton John     Latton, John 0
3849133 1973327 1973327 defendant Neele John husbandman 639358 639358 Neele, John, of Dytton, Kent, husbandman 0
3849134 1973327 1973327 defendant Strong Robert butcher 587335 587335 Strong, Robert, of Henley on Thames, Oxon, butcher 1
3849135 1973327 1973327 defendant Rychardys Robert husbandman 590946 590946 Rychardys, Robert, of Wantage, husbandman 2
3849136 1973327 1973327 defendant Bocher Reginald butcher 587891 587891 Bocher, Reginald, of Redyng, butcher 3
3849137 1973327 1973327 defendant Harys Robert butcher 586160 586160 Harys, Robert, of Henley, butcher 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.286ms