home / cp40x

names

8 rows where case_id = 2298676

✎ 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
4807966 2298676 2298676 plaintiff Cork John     Cork, John 0
4807967 2298676 2298676 plaintiff Mayhewe John     Mayhewe, John 1
4807968 2298676 2298676 defendant Pelaworgan Stephen husbandman 805241 805241 Pelaworgan, Stephen, of Trogaveryn, husbandman 0
4807969 2298676 2298676 defendant Slegh Richard husbandman 805242 805242 Slegh, Richard, of Trewayther, husbandman 1
4807970 2298676 2298676 defendant Hygan John husbandman 805243 805243 Hygan, John, of Trewynt by Treveythen, husbandman 2
4807971 2298676 2298676 defendant Trecruk William (legal representative)   Trecruk, William, executors of 3
4807972 2298676 2298676 defendant Hikke John husbandman 805244 805244 (Hikke, John, of Trelulla, husbandman 4
4807973 2298676 2298676 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 6.956ms