home / cp40x

names

6 rows where case_id = 2259386

✎ 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
4680096 2259386 2259386 plaintiff Layceby John clerk   Layceby, John, clerk 0
4680097 2259386 2259386 defendant Frankysshe John, junior husbandman 782985 782985 Frankysshe, John, junior, of Houton by Wathe, husbandman 0
4680098 2259386 2259386 defendant Waltham Robert husbandman 615146 615146 Waltham, Robert, of Clee, husbandman 1
4680099 2259386 2259386 defendant Nyvere John   782986 782986 Nyvere, John, of Honton, by Wathe, wright 2
4680100 2259386 2259386 defendant Everard John husbandman 782987 782987 Everard, John, of Honton, husbandman 3
4680101 2259386 2259386 defendant Frankyssh John husbandman 782987 782987 Frankyssh, John, of Honton, 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 12.963ms