home / cp40x

names

6 rows where case_id = 2004415

✎ 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
3942219 2004415 2004415 plaintiff Whetcroft William gent   Whetcroft, William, gent 0
3942220 2004415 2004415 defendant Burcham William husbandman 656903 656903 Burcham, William, of St Mary Pulham, husbandman 0
3942221 2004415 2004415 defendant Tylles John husbandman 586400 586400 Tylles, John, of Pulham St Mary, husbandman 1
3942222 2004415 2004415 defendant Bache John cooper 586400 586400 Bache, John, of Pulham St Mary, cooper 2
3942223 2004415 2004415 defendant Blanchard Robert   586098 586098 Blanchard, Robert, of Snape, shoe maker 3
3942224 2004415 2004415 defendant Grene Thomas   597429 597429 Grene, Thomas, of Alborough, wax chandler 4

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