home / cp40x

names

6 rows where case_id = 2279510

✎ 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
4746648 2279510 2279510 plaintiff Hill John     Hill, John, on his own account 0
4746649 2279510 2279510 defendant Chuche Thomas husbandman 749922 749922 Chuche, Thomas, of Denbury, Devon, husbandman 0
4746650 2279510 2279510 defendant Clynche William chapman 639976 639976 Clynche, William, of Denbury, chapman 1
4746651 2279510 2279510 defendant Smyth Mathew husbandman 676833 676833 Smyth, Mathew, of Ilfercombe, Devon, husbandman 2
4746652 2279510 2279510 defendant Mareys Robert drover 795540 795540 Mareys, Robert, of Bokelond, Soms, drover 3
4746653 2279510 2279510 defendant Bysshop John clerk 795541 795541 Bysshop, John, of Mylton Podymore, Soms, clerk 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 15.204ms