home / cp40x

names

6 rows where case_id = 2022879

✎ 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
3994763 2022879 2022879 plaintiff Comber John   669870 669870 Comber, John, of Shyrmonbury, gent, attorney of the bench 0
3994764 2022879 2022879 defendant Mugglewyke John yeoman 616463 616463 Mugglewyke, John, of Alborne, yeoman 0
3994765 2022879 2022879 defendant Cooke Richard yeoman 666299 666299 Cooke, Richard, of Stenynge, yeoman 1
3994766 2022879 2022879 defendant Collman Richard husbandman 593520 593520 Collman, Richard, of Lyndfeld, husbandman 2
3994767 2022879 2022879 defendant Puxsted James yeoman 656748 656748 Puxsted, James, of Mychelgrove, yeoman 3
3994768 2022879 2022879 defendant Parker alias Barbor William husbandman 587695 587695 Parker alias Barbor, William, of Buxsted, 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 16.552ms