home / cp40x

names

6 rows where case_id = 1864968

✎ 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
3591497 1864968 1864968 plaintiff Eggecombe Peter esq   Eggecombe, Peter, esq 0
3591498 1864968 1864968 defendant Enryn or Guryn William clerk 587468 587468 Enryn or Guryn, William, of St Keveran, clerk 0
3591499 1864968 1864968 defendant Gwyader William weaver 587468 587468 Gwyader, William, of St Keveran, weaver 1
3591500 1864968 1864968 defendant Glovyer William husbandman 587468 587468 Glovyer, William, of St Keveran, husbandman 2
3591501 1864968 1864968 defendant Laurens Richard John   587468 587468 Laurens, Richard John, of St Keveran, mason 3
3591502 1864968 1864968 defendant Laurens Thomas John husbandman 587468 587468 Laurens, Thomas John, of St Keveran, 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 15.199ms