home / cp40x

names

6 rows where case_id = 2533239

✎ 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
5594435 2533239 2533239 plaintiff Baynham Alexander knight   Baynham, Alexander, knight 0
5594436 2533239 2533239 plaintiff Davyes Edward clerk   Davyes, Edward, clerk 1
5594437 2533239 2533239 plaintiff Davyes John     Davyes, John 2
5594438 2533239 2533239 defendant Wall Walter husbandman 628408 628408 Wall, Walter, of Erlyngham, husbandman 0
5594439 2533239 2533239 defendant Robertes Walter husbandman 628408 628408 Robertes, Walter, of Erlyngham, husbandman 1
5594440 2533239 2533239 defendant Elly Thomas yeoman 599394 599394 Elly, Thomas, of Newland, yeoman 2

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 8.839ms