home / cp40x

names

7 rows where case_id = 2497489

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5474944 2497489 2497489 plaintiff Seman John     Seman, John 0
5474945 2497489 2497489 defendant Brenetour Simon butcher 587592 587592 Brenetour, Simon, of Hempton, butcher 0
5474946 2497489 2497489 defendant Brenetour John smith 591190 591190 Brenetour, John, of South Creyk, smith 1
5474947 2497489 2497489 defendant Curteys John husbandman 587553 587553 Curteys, John, of Toftrys, husbandman 2
5474948 2497489 2497489 defendant Cheverey John laborer 587836 587836 Cheverey, John, of Folsham, laborer 3
5474949 2497489 2497489 defendant Odams John carpenter 598081 598081 Odams, John, of Hyndolveston, carpenter 4
5474950 2497489 2497489 defendant Yook Simon tailor 598490 598490 Yook, Simon, of Wode Norton, tailor 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 14.042ms