home / cp40x

names

10 rows where case_id = 2309970

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4845049 2309970 2309970 plaintiff Oldhall wm knight   Oldhall, wm, knight 0
4845050 2309970 2309970 plaintiff Gegge Richard esq   Gegge, Richard, esq 1
4845051 2309970 2309970 plaintiff Dam John jun   Dam, John, jun 2
4845052 2309970 2309970 plaintiff Puttok John     Puttok, John 3
4845053 2309970 2309970 plaintiff Hamond John     Hamond, John 4
4845054 2309970 2309970 defendant Alday Henry laborer 754335 754335 Alday, Henry, of Custhorp, laborer 0
4845055 2309970 2309970 defendant Claghton John husbandman 592221 592221 Claghton, John, of Westacre, husbandman 1
4845056 2309970 2309970 defendant Walsyngham Joan widow 615388 615388 Walsyngham, Joan, of West Acre, widow 2
4845057 2309970 2309970 defendant Deye John husbandman 615388 615388 Deye, John, of West Acre, husbandman 3
4845058 2309970 2309970 defendant Walsyngham Thomas   615388 615388 Walsyngham, Thomas, of West Acre, servant 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 15.32ms