home / cp40x

names

6 rows where case_id = 1927860

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3705009 1927860 1927860 plaintiff Grene Thomas yeoman 614694 614694 Grene, Thomas, of Salyng Magna, yeoman 0
3705010 1927860 1927860 defendant Glase Hugh yeoman 614695 614695 Glase, Hugh, of Cowme, March of Wales, yeoman 0
3705011 1927860 1927860 defendant Bocher John butcher 600868 600868 Bocher, John, of Keldon, butcher 1
3705012 1927860 1927860 defendant Tymam Thomas husbandman 614696 614696 Tymam, Thomas, of Theydon Garnam, husbandman 2
3705013 1927860 1927860 defendant Fynche Hugh husbandman 614697 614697 Fynche, Hugh, of Stanford Ryvers, husbandman 3
3705014 1927860 1927860 defendant Parker William butcher 599397 599397 Parker, William, of Ippyng, butcher 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 14.987ms