home / cp40x

names

9 rows where case_id = 2343349

✎ 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
4954652 2343349 2343349 plaintiff Staunton Thomas     Staunton, Thomas 0
4954653 2343349 2343349 plaintiff Bird John     Bird, John 1
4954654 2343349 2343349 defendant Wasy Robert husbandman 586953 586953 Wasy, Robert, of Sudbury, husbandman 0
4954655 2343349 2343349 defendant Stokes Robert husbandman 586953 586953 Stokes, Robert, of Sudbury, husbandman 1
4954656 2343349 2343349 defendant Tebald Henry husbandman 594609 594609 Tebald, Henry, of Draycote, husbandman 2
4954657 2343349 2343349 defendant Warner John husbandman 594609 594609 Warner, John, of Draycote, husbandman 3
4954658 2343349 2343349 defendant Taylour John husbandman 611517 611517 Taylour, John, of Myrcaston, husbandman 4
4954659 2343349 2343349 defendant Coke John husbandman 590425 590425 Coke, John, of Langley, husbandman 5
4954660 2343349 2343349 defendant Robert John brasier 587136 587136 Robert, John, of Derby, brasier 6

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