home / cp40x

names

7 rows where case_id = 2358829

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5006592 2358829 2358829 plaintiff Sherard Lawrence (legal representative)   Sherard, Lawrence, administratrix of 0
5006593 2358829 2358829 plaintiff Sherard Isabel formerly wife of Lawrence   Sherard, Isabel, formerly wife of Lawrence 1
5006594 2358829 2358829 defendant Smyth John clerk 834032 834032 Smyth, John, of Gnypton or Knipton, clerk 0
5006595 2358829 2358829 defendant Walton William yeoman 590873 590873 Walton, William, of Normanton, yeoman 1
5006596 2358829 2358829 defendant Mary John husbandman 834033 834033 Mary, John, of Ratclyff on Wrete, husbandman 2
5006597 2358829 2358829 defendant Bonour John   739773 739773 Bonour, John, of Cold Overton, parson 3
5006598 2358829 2358829 defendant Tallys John husbandman 834035 834035 Tallys, John, of Berston in the Vale, 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 10.879ms