home / cp40x

names

9 rows where case_id = 1983041

✎ 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
3878455 1983041 1983041 plaintiff Lee John     Lee, John 0
3878456 1983041 1983041 defendant Hickes Thomas merchant 587287 587287 Hickes, Thomas, of Launceston, merchant 0
3878457 1983041 1983041 defendant Chapell John   587287 587287 Chapell, John, of Launceston 1
3878458 1983041 1983041 defendant Ogler John butcher 587287 587287 Ogler, John, of Launceston, butcher 2
3878459 1983041 1983041 defendant Pratte John laborer 587287 587287 Pratte, John, of Launceston, laborer 3
3878460 1983041 1983041 defendant Clothworthye John husbandman 593536 593536 Clothworthye, John, of Lawhytton, husbandman 4
3878461 1983041 1983041 defendant eggecombe John husbandman 593536 593536 eggecombe, John, of Lawhytton, husbandman 5
3878462 1983041 1983041 defendant Noble John   644237 644237 Noble, John, of Lawhiddon, grome 6
3878463 1983041 1983041 defendant William Peter husbandman 590233 590233 William, Peter, of South Pederwyn, husbandman 7

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 12.369ms