home / cp40x

names

6 rows where case_id = 2415881

✎ 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
5200405 2415881 2415881 plaintiff Wrottyng Thomas clerk   Wrottyng, Thomas, clerk 0
5200406 2415881 2415881 defendant Mapys Stephen skepmaker 774084 774084 Mapys, Stephen, of Great Thornham, skepmaker 0
5200407 2415881 2415881 defendant Baldry Agnes widow 774084 774084 Baldry, Agnes, of Great Thornham, widow 1
5200408 2415881 2415881 defendant Skouthare John husbandman 586404 586404 Skouthare, John, of Melles, husbandman 2
5200409 2415881 2415881 defendant Fauner John yeoman 591022 591022 Fauner, John, of Yaxle, yeoman 3
5200410 2415881 2415881 defendant Skouthare Geoffrey husbandman 774084 774084 Skouthare, Geoffrey, of Great Thornham, 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 14.424ms