home / cp40x

names

7 rows where case_id = 2282109

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4755526 2282109 2282109 plaintiff Aysshton Nicholas     Aysshton, Nicholas 0
4755527 2282109 2282109 defendant Bruer John husbandman 797292 797292 Bruer, John, of Tregreynwen, husbandman 0
4755528 2282109 2282109 defendant Calwe John husbandman 797293 797293 Calwe, John, of Karkyle or Carkeel, husbandman 1
4755529 2282109 2282109 defendant Wotton Ralph husbandman 793686 793686 Wotton, Ralph, of Carkyle, husbandman 2
4755530 2282109 2282109 defendant Semer Robert husbandman 793686 793686 Semer, Robert, of Carkyle, husbandman 3
4755531 2282109 2282109 defendant Batyn Stephen husbandman 636097 636097 Batyn, Stephen, of Northill, husbandman 4
4755532 2282109 2282109 defendant Trusket Richard carpenter 797294 797294 Trusket, Richard, of Landulp or Landulph, carpenter 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 16.02ms