home / cp40x

names

8 rows where case_id = 1925865

✎ 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
3698877 1925865 1925865 plaintiff Wery John     Wery, John 0
3698878 1925865 1925865 defendant Robyn John husbandman 613532 613532 Robyn, John, of Treverdale, husbandman 0
3698879 1925865 1925865 defendant Robyn William husbandman 613533 613533 Robyn, William, of Trecreke, husbandman 1
3698880 1925865 1925865 defendant Borrowe John laborer 613533 613533 Borrowe, John, of Trecreke, laborer 2
3698881 1925865 1925865 defendant Bokeler William husbandman 613534 613534 Bokeler, William, of Trehetheret, husbandman 3
3698882 1925865 1925865 defendant Hawke John husbandman 613535 613535 Hawke, John, of Bliston, husbandman 4
3698883 1925865 1925865 defendant Martyn William husbandman 588841 588841 Martyn, William, of Pennant, husbandman 5
3698884 1925865 1925865 defendant Abet John, senior husbandman 588471 588471 Abet, John, senior, of Tempyll, husbandman 6

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.941ms