home / cp40x

names

6 rows where case_id = 2399620

✎ 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
5144749 2399620 2399620 plaintiff Blake Simon     Blake, Simon 0
5144750 2399620 2399620 defendant Kempe Hugh husbandman 586940 586940 Kempe, Hugh, of Baldeswell, husbandman 0
5144751 2399620 2399620 defendant Machun John   852728 852728 Machun, John, of Carleton by Bokenham Castle 1
5144752 2399620 2399620 defendant Peryn John yeoman 589127 589127 Peryn, John, of Walton, yeoman 2
5144753 2399620 2399620 defendant Marchall Robert   852729 852729 Marchall, Robert, of Sparham, by Baldeswell, minstrel 3
5144754 2399620 2399620 defendant Nele Thomas husbandman 587414 587414 Nele, Thomas, of Thetford, 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 15.531ms