home / cp40x

names

8 rows where place_id = 777549

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4646705 2245100 2245100 defendant Farewell Simon   777549 777549 Farewell, Simon, of Ovesden, parson 0
4911696 2330159 2330159 defendant Stoke William   777549 777549 Stoke, William, of Ovesden, parson 1
4911713 2330164 2330164 defendant Stoke William   777549 777549 Stoke, William, of Ovesden, parson 1
5010284 2359872 2359872 defendant Cotes William   777549 777549 Cotes, William, of Ovesden, parson 0
5010285 2359872 2359872 defendant Roger John husbandman 777549 777549 Roger, John, of Ovesden, husbandman 1
5010288 2359873 2359873 defendant Cotes William   777549 777549 Cotes, William, of Ovesden, parson 0
5010289 2359873 2359873 defendant Roger Michael husbandman 777549 777549 Roger, Michael, of Ovesden, husbandman 1
5092018 2384044 2384044 defendant Stoke William clerk 777549 777549 Stoke, William, of Ovesden, clerk 0

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