home / cp40x

names

5 rows where case_id = 2034180

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4026657 2034180 2034180 plaintiff Campinett William     Campinett, William 0
4026658 2034180 2034180 defendant Radcliff Robert gent 677374 677374 Radcliff, Robert, of Tekencote, gent 0
4026659 2034180 2034180 defendant Warde Thomas husbandman 677374 677374 Warde, Thomas, of Tekencote, husbandman 1
4026660 2034180 2034180 defendant Baxter John husbandman 677374 677374 Baxter, John, of Tekencote, husbandman 2
4026661 2034180 2034180 defendant Tyers Gabriel husbandman 677375 677375 Tyers, Gabriel, of Tykencote, husbandman 3

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.074ms