home / cp40x

names

6 rows where case_id = 2281531

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4753698 2281531 2281531 plaintiff Weldon William     Weldon, William, on his own account 0
4753699 2281531 2281531 defendant Roger John drover 785049 785049 Roger, John, of Faxton, Nhants, drover 0
4753700 2281531 2281531 defendant Marram John husbandman 599675 599675 Marram, John, of Yarwell, husbandman 1
4753701 2281531 2281531 defendant Sawer William husbandman 590356 590356 Sawer, William, of Oundell, husbandman 2
4753702 2281531 2281531 defendant Rysley William husbandman 617029 617029 Rysley, William, of Aldewyncle, husbandman 3
4753703 2281531 2281531 defendant Salum William husbandman 613332 613332 Salum, William, of Armeston, 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 14.929ms