home / cp40x

names

7 rows where case_id = 1953870

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3787462 1953870 1953870 plaintiff Rollys William     Rollys, William 0
3787463 1953870 1953870 defendant Johnson Roger chaplain 613553 613553 Johnson, Roger, of Hampton Lovet, chaplain 0
3787464 1953870 1953870 defendant Poler Richard husbandman 593262 593262 Poler, Richard, of Elmeley Lovet, husbandman 1
3787465 1953870 1953870 defendant Harper Alan   593262 593262 Harper, Alan, of Elmeley Lovet, scythe smith 2
3787466 1953870 1953870 defendant Hab- John husbandman 593262 593262 Hab-, John, of Elmeley Lovet, husbandman 3
3787467 1953870 1953870 defendant Brode John husbandman 593262 593262 Brode, John, of Elmeley Lovet, husbandman 4
3787468 1953870 1953870 defendant Poler John husbandman 593262 593262 Poler, John, of Elmeley Lovet, husbandman 5

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