home / cp40x

names

6 rows where case_id = 1937109

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3734725 1937109 1937109 plaintiff Greeve Thomas     Greeve, Thomas 0
3734726 1937109 1937109 defendant Byrde Thomas gent 620258 620258 Byrde, Thomas, of Womandam, Leics, gent 0
3734727 1937109 1937109 defendant Aglyn Ralph yeoman 620259 620259 Aglyn, Ralph, of Womandam, yeoman 1
3734728 1937109 1937109 defendant Frankleyn Thomas husbandman 613909 613909 Frankleyn, Thomas, of Newport Paynell, Bucks, husbandman 2
3734729 1937109 1937109 defendant Wattys Richard husbandman 620260 620260 Wattys, Richard, of Blisworth, Nhants, husbandman 3
3734730 1937109 1937109 defendant Shepard Robert husbandman 620261 620261 Shepard, Robert, of Chylwareeton, 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.964ms