home / cp40x

names

6 rows where case_id = 1929805

✎ 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
3711189 1929805 1929805 plaintiff Strete Robert chaplain   Strete, Robert, chaplain 0
3711190 1929805 1929805 defendant Fulwell William husbandman 615862 615862 Fulwell, William, of Wykke juxta Parshore, husbandman 0
3711191 1929805 1929805 defendant Lake John husbandman 615862 615862 Lake, John, of Wykke juxta Parshore, husbandman 1
3711192 1929805 1929805 defendant Daunce Robert husbandman 615862 615862 Daunce, Robert, of Wykke juxta Parshore, husbandman 2
3711193 1929805 1929805 defendant Smyth Thomas cordwainer 591688 591688 Smyth, Thomas, of Parshore, cordwainer 3
3711194 1929805 1929805 defendant Wodewarde William laborer 615863 615863 Wodewarde, William, of Kynnersley juxta Horwell, laborer 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 7.719ms