home / cp40x

names

7 rows where case_id = 2007683

✎ 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
3951777 2007683 2007683 plaintiff Hampton Robert     Hampton, Robert 0
3951778 2007683 2007683 defendant Grey George husbandman 659264 659264 Grey, George, of Magna Breckell, husbandman 0
3951779 2007683 2007683 defendant Thorne Robert   659265 659265 Thorne, Robert, of Thompsom husbandman 1
3951780 2007683 2007683 defendant Manser John husbandman 638090 638090 Manser, John, of Thompson, husbandman 2
3951781 2007683 2007683 defendant Bysshop John husbandman 590152 590152 Bysshop, John, of Clyfton, husbandman 3
3951782 2007683 2007683 defendant Smyth Daniel tailor 600648 600648 Smyth, Daniel, of Stowbedon, tailor 4
3951783 2007683 2007683 defendant Walker Thomas husbandman 659264 659264 Walker Thomas, of Magna Breckell, husbandman 5

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