home / cp40x

names

6 rows where case_id = 1943574

✎ 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
3755188 1943574 1943574 plaintiff Wastnes George esq 589042 589042 Wastnes, George, of Heydon, esq 0
3755189 1943574 1943574 defendant Roos Robert gent 623931 623931 Roos, Robert, of Donyngton, Yorks, gent 0
3755190 1943574 1943574 defendant Smyth John husbandman 623932 623932 Smyth, John, of Knessall, husbandman 1
3755191 1943574 1943574 defendant Lee Robert husbandman 591977 591977 Lee, Robert, of Laxton, husbandman 2
3755192 1943574 1943574 defendant Gedlyng William butcher 586593 586593 Gedlyng, William, of Est Retford, butcher 3
3755193 1943574 1943574 defendant Marshall Robert husbandman 586593 586593 Marshall, Robert, of Est Retford, 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 17.151ms