home / cp40x

names

6 rows where case_id = 2440565

✎ 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
5284776 2440565 2440565 plaintiff Gery Roger clerk   Gery, Roger, clerk 0
5284777 2440565 2440565 defendant Cheyny William husbandman 868601 868601 Cheyny, William, of Tuffeld, husbandman 0
5284778 2440565 2440565 defendant Gylmyn John butcher 759107 759107 Gylmyn, John, of Crowemerssh, butcher 1
5284779 2440565 2440565 defendant Elyot William butcher 759107 759107 Elyot, William, of Crowemerssh, butcher 2
5284780 2440565 2440565 defendant Elyot William laborer 759107 759107 Elyot, William, of Crowemerssh, laborer 3
5284781 2440565 2440565 defendant Elyotte Thomas laborer 624738 624738 Elyotte, Thomas, of Benston, laborer 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 5.987ms