home / cp40x

names

8 rows where case_id = 2342252

✎ 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
4950911 2342252 2342252 plaintiff (not given)   abbot of Peterborough Abbey   Peterborough Abbey, abbot of 0
4950912 2342252 2342252 defendant Belde John butcher 769035 769035 Belde, John, of Petirburgh, butcher 0
4950913 2342252 2342252 defendant Belamy John husbandman 769035 769035 Belamy, John, of Petirburgh, husbandman 1
4950914 2342252 2342252 defendant Grey Robert husbandman 593987 593987 Grey, Robert, of Gunthorp, husbandman 2
4950915 2342252 2342252 defendant Hervy Richard carpenter 602305 602305 Hervy, Richard, of Peterburgh, carpenter 3
4950916 2342252 2342252 defendant Davy John weaver 627900 627900 Davy, John, of Wodeston, Hunts, weaver 4
4950917 2342252 2342252 defendant Bentle William yeoman 765699 765699 Bentle, William, of Dosthorp, yeoman 5
4950918 2342252 2342252 defendant Sprotburgh John fisher 769035 769035 Sprotburgh, John, of Petirburgh, fisher 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 16.355ms