home / cp40x

names

8 rows where case_id = 2298622

✎ 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
4807784 2298622 2298622 plaintiff Combe John     Combe, John 0
4807785 2298622 2298622 plaintiff Torner John     Torner, John, on their own account 1
4807786 2298622 2298622 defendant Dowene William husbandman 601921 601921 Dowene, William, of Croscombe, husbandman 0
4807787 2298622 2298622 defendant Beche Thomas husbandman 586813 586813 Beche, Thomas, of Pylton, husbandman 1
4807788 2298622 2298622 defendant Baunokke Richard butcher 597394 597394 Baunokke, Richard, of Corscombe, butcher 2
4807789 2298622 2298622 defendant Weste John husbandman 586813 586813 Weste, John, of Pylton, husbandman 3
4807790 2298622 2298622 defendant Pyers John husbandman 586813 586813 Pyers, John, of Pylton, husbandman 4
4807791 2298622 2298622 defendant Sperlake John husbandman 805212 805212 Sperlake, John, of Chepton Malette, 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 14.258ms