home / cp40x

names

7 rows where case_id = 2294403

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4794450 2294403 2294403 plaintiff Polton Thomas Bishop of Chichester   Polton, Thomas, Bishop of Chichester 0
4794451 2294403 2294403 plaintiff Eston William clerk   Eston, William, clerk 1
4794452 2294403 2294403 defendant Baker John baker 586208 586208 Baker, John, of Hereford, baker 0
4794453 2294403 2294403 defendant Caye John chaplain 586208 586208 Caye, John, of Hereford, chaplain 1
4794454 2294403 2294403 defendant Walford Richard husbandman 803195 803195 Walford, Richard, of Shellewyke, husbandman 2
4794455 2294403 2294403 defendant Ree William husbandman 586208 586208 Ree, William, of Hereford, husbandman 3
4794456 2294403 2294403 defendant Broun Stephen husbandman 603803 603803 Broun, Stephen, of Bromyerd, 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 14.437ms