home / cp40x

names

7 rows where case_id = 2460364

✎ 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
5350810 2460364 2460364 plaintiff Courtenay Edward esq   Courtenay, Edward, esq 0
5350811 2460364 2460364 defendant Parker John yeoman 620709 620709 Parker, John, of Lanteglos juxta Camelford, yeoman 0
5350812 2460364 2460364 defendant Brenton David chaplain 587286 587286 Brenton, David, of Camelford, chaplain 1
5350813 2460364 2460364 defendant Mely John tailor 587286 587286 Mely, John, of Camelford, tailor 2
5350814 2460364 2460364 defendant Laurens John tailor 587286 587286 together with Laurens, John, of Camelford, tailor 3
5350815 2460364 2460364 defendant Arkesworthy Robert husbandman 587286 587286 Arkesworthy, Robert, of Camelford, husbandman 4
5350816 2460364 2460364 defendant Drewe John smith 587286 587286 Drewe, John, of Camelford, smith 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 11.789ms