home / cp40x

names

6 rows where case_id = 2494223

✎ 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
5464284 2494223 2494223 plaintiff Sutton Richard     Sutton, Richard 0
5464285 2494223 2494223 defendant Bodnam John shoemaker 606551 606551 Bodnam, John, of Alresford, shoemaker 0
5464286 2494223 2494223 defendant Beele Henry dyer 762128 762128 Beele, Henry, of East Meon, dyer 1
5464287 2494223 2494223 defendant Osmond Robert husbandman 890292 890292 Osmond, Robert, of Bysshopes Stoke, husbandman 2
5464288 2494223 2494223 defendant Clere Edward butcher 606551 606551 Clere, Edward, of Alresford, butcher 3
5464289 2494223 2494223 defendant Pryce Robert husbandman 890293 890293 Pryce, Robert, of Abbottesworthy, husbandman 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 17.114ms