home / cp40x

names

7 rows where case_id = 2361295

✎ 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
5015079 2361295 2361295 plaintiff Bokelond Thomas     Bokelond, Thomas 0
5015080 2361295 2361295 defendant Smalbone John chaplain 593027 593027 Smalbone, John, of Thornbury, chaplain 0
5015081 2361295 2361295 defendant Fissher John husbandman 638311 638311 Fissher, John, of Bredon, Worcs, husbandman 1
5015082 2361295 2361295 defendant Reynold John yeoman 586318 586318 Reynold, John, of Worcester, yeoman 2
5015083 2361295 2361295 defendant Salisbury John chapman 586958 586958 Salisbury, John, of Gloucester, chapman 3
5015084 2361295 2361295 defendant Wattes Richard husbandman 835338 835338 Wattes, Richard, of Cloppesley, husbandman 4
5015085 2361295 2361295 defendant Grymer Thomas tucker 597293 597293 Grymer, Thomas, of Gyseley, tucker 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 6.627ms