home / cp40x

names

8 rows where case_id = 2502299

✎ 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
5491339 2502299 2502299 plaintiff Burneby George esq   Burneby, George, esq 0
5491340 2502299 2502299 plaintiff Darset William     Darset, William 1
5491341 2502299 2502299 defendant Harrys Thomas husbandman 594443 594443 Harrys, Thomas, of Thurlaston, husbandman 0
5491342 2502299 2502299 defendant Bengeworth Robert husbandman 594443 594443 Bengeworth, Robert, of Thurlaston, husbandman 1
5491343 2502299 2502299 defendant Ball Nicholas husbandman 594443 594443 Ball, Nicholas, of Thurlaston, husbandman 2
5491344 2502299 2502299 defendant Pake Henry husbandman 594443 594443 Pake, Henry, of Thurlaston, husbandman 3
5491345 2502299 2502299 defendant Gilbert Richard husbandman 594443 594443 Gilbert, Richard, of Thurlaston, husbandman 4
5491346 2502299 2502299 defendant Melton Nicholas husbandman 892866 892866 Melton, Nicholas, of Dunchirch, husbandman 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 13.457ms