home / cp40x

names

10 rows where case_id = 1980344

✎ 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
3870393 1980344 1980344 plaintiff Wygston Roger esq   Wygston, Roger, esq 0
3870394 1980344 1980344 defendant Wyghtman Nicholas husbandman 589127 589127 Wyghtman, Nicholas, of Walton, husbandman 0
3870395 1980344 1980344 defendant Breynte John husbandman 640638 640638 Breynte, John, of Herbery, husbandman 1
3870396 1980344 1980344 defendant Hardward Nicholas husbandman 640639 640639 Hardward, Nicholas, of Napton, husbandman 2
3870397 1980344 1980344 defendant Laughton Richard husbandman 642829 642829 Laughton, Richard, of Ledborowe, husbandman 3
3870398 1980344 1980344 defendant Beell Richard husbandman 610174 610174 Beell, Richard, of Grenborough, husbandman 4
3870399 1980344 1980344 defendant Dalton John husbandman 642830 642830 Dalton, John, of Shukborough, husbandman 5
3870400 1980344 1980344 defendant Stonley Thomas husbandman 640639 640639 Stonley, Thomas, of Napton, husbandman 6
3870401 1980344 1980344 defendant Maryott Thomas husbandman 640639 640639 Maryott, Thomas, of Napton, husbandman 7
3870402 1980344 1980344 defendant Hurst Roger husbandman 610174 610174 Hurst, Roger, of Grenborough, husbandman 8

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