home / cp40x

names

6 rows where case_id = 1948187

✎ 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
3769728 1948187 1948187 plaintiff Rotheram Thomas knight, sheriff of Beds   Rotheram, Thomas, knight, sheriff of Beds 0
3769729 1948187 1948187 defendant Nele William yeoman 626377 626377 Nele, William, of Harold, yeoman 0
3769730 1948187 1948187 defendant Kyng William yeoman 586079 586079 Kyng, William, of Bedford, yeoman 1
3769731 1948187 1948187 defendant Stevynson John yeoman 608374 608374 Stevynson, John, of Turvey, yeoman 2
3769732 1948187 1948187 defendant Makke Peter yeoman 586079 586079 Makke, Peter, of Bedford, yeoman 3
3769733 1948187 1948187 defendant Wyllymot Henry yeoman 626378 626378 Wyllymot, Henry, of Bekelysward, yeoman 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.023ms