home / cp40x

names

7 rows where case_id = 2259677

✎ 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
4680975 2259677 2259677 plaintiff Malory John esq   Malory, John, esq 0
4680976 2259677 2259677 defendant Clerk Robert gent 596299 596299 Clerk, Robert, of Snaynton, gent 0
4680977 2259677 2259677 defendant Shetwell Henry shoemaker 586901 586901 Shetwell, Henry, of Nottingham, shoemaker 1
4680978 2259677 2259677 defendant Lynby Thomas de husbandman 596299 596299 Lynby, Thomas de, of Snaynton, husbandman 2
4680979 2259677 2259677 defendant Draper Thomas skinner 586901 586901 Draper, Thomas, of Nottingham, skinner 3
4680980 2259677 2259677 defendant Fleccher John fleccher 586901 586901 Fleccher, John, of Nottingham, fleccher 4
4680981 2259677 2259677 defendant atte Persones John husbandman 596299 596299 atte Persones, John, of Snaynton, 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 14.903ms