home / cp40x

names

8 rows where case_id = 2298677

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4807974 2298677 2298677 plaintiff Cork John     Cork, John 0
4807975 2298677 2298677 plaintiff Mayowe John     Mayowe, John 1
4807976 2298677 2298677 defendant Pelaworgan Stephen husbandman 805245 805245 Pelaworgan, Stephen, of Tregaveryn, husbandman 0
4807977 2298677 2298677 defendant Slegh Richard husbandman 805242 805242 Slegh, Richard, of Trewayther, husbandman 1
4807978 2298677 2298677 defendant Hygan John husbandman 805243 805243 Hygan, John, of Trewynt by Treveythen, husbandman 2
4807979 2298677 2298677 defendant Treoruk William (legal representative)   Treoruk, William, executors of 3
4807980 2298677 2298677 defendant Hikke John husbandman 805244 805244 (Hikke, John, of Trelulla, husbandman 4
4807981 2298677 2298677 defendant Hikke Alice     Alice, his wife 5

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