home / cp40x

names

7 rows where place_id = 697132

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4118264 2066818 2066818 defendant Stokes William husbandman 697132 697132 Stokes, William, of Caneby, husbandman 1
4516981 2205719 2205719 plaintiff Couper John   697132 697132 Couper, John, of Caneby 0
4837280 2307605 2307605 defendant Webster Thomas husbandman 697132 697132 Webster, Thomas, of Caneby, husbandman 1
4864522 2315877 2315877 defendant Webster Thomas husbandman 697132 697132 Webster, Thomas, of Caneby, husbandman 1
4982745 2351749 2351749 defendant Litherwhite William shoemaker 697132 697132 Litherwhite, William, of Caneby, shoemaker 1
5101770 2386941 2386941 defendant Tounley Miles   697132 697132 Tounley, Miles, of Caneby 0
5267142 2435481 2435481 defendant West Richard husbandman 697132 697132 West, Richard, of Caneby, husbandman 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 6.447ms