home / cp40x

names

6 rows where case_id = 2317036

✎ 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
4868206 2317036 2317036 plaintiff Hykkealy John carpenter 588044 588044 Hykkealy, John, of Truruburgh, carpenter 0
4868207 2317036 2317036 defendant Hendre Roger yeoman 814984 814984 Hendre, Roger, of Truruburgh, Cornw, yeoman 0
4868208 2317036 2317036 defendant Kymbre Lawrence yeoman 588044 588044 Kymbre, Lawrence, of Truruburgh, yeoman 1
4868209 2317036 2317036 defendant Porthkyllys William carpenter 588044 588044 Porthkyllys, William, of Truruburgh, carpenter 2
4868210 2317036 2317036 defendant Condorewe John yeoman 588044 588044 Condorewe, John, of Truruburgh, yeoman 3
4868211 2317036 2317036 defendant Iwyn John husbandman 814985 814985 Iwyn, John, of Tresansen, Cornw, 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 12.992ms