home / cp40x

names

7 rows where case_id = 2050046

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4071321 2050046 2050046 plaintiff Morrys George     Morrys, George 0
4071322 2050046 2050046 defendant Wylles William yeoman 612218 612218 Wylles, William, of Stoke Cannon, yeoman 0
4071323 2050046 2050046 defendant Warren Peter yeoman 687455 687455 Warren, Peter, of Sroke Canon, yeoman 1
4071324 2050046 2050046 defendant Swatland Elizabeth widow 687456 687456 Swatland, Elizabeth, of Upawtrye, widow 2
4071325 2050046 2050046 defendant Wyde Martin yeoman 687456 687456 Wyde, Martin, of Upawtrye, yeoman 3
4071326 2050046 2050046 defendant Hoper John husbandman 687456 687456 Hoper, John, of Upawtrye, husbandman 4
4071327 2050046 2050046 defendant Voxe Edward yeoman 687457 687457 Voxe, Edward, of Ockford, yeoman 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 15.709ms