home / cp40x

names

7 rows where case_id = 2393791

✎ 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
5125019 2393791 2393791 plaintiff Arundell John esq 600312 600312 Arundell, John, of Talvern, esq 0
5125020 2393791 2393791 defendant Nansek Richard husbandman 849311 849311 Nansek, Richard, of Trethelens in St Just in Roslan, husbandman 0
5125021 2393791 2393791 defendant Carwaran Richard husbandman 849312 849312 Carwaran, Richard, of Carwaran, in St Just in Roslan, husbandman 1
5125022 2393791 2393791 defendant Tonivyan John husbandman 849313 849313 Tonivyan, John, of Camweras in St Just, husbandman 2
5125023 2393791 2393791 defendant Benet John weaver 849314 849314 Benet, John, of Camweras, weaver 3
5125024 2393791 2393791 defendant William John husbandman 849315 849315 William, John, of Trethryn, husbandman 4
5125025 2393791 2393791 defendant Nicoll Thomas cobbler 849315 849315 Nicoll, Thomas, of Trethryn, cobbler 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 14.128ms