home / cp40x

names

6 rows where case_id = 2505788

✎ 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
5502795 2505788 2505788 plaintiff Tybenham Katherine widow of Tybenham, John   Tybenham, Katherine, widow of Tybenham, John 0
5502796 2505788 2505788 defendant Mighill John husbandman 590610 590610 Mighill, John, of Hempsted, husbandman 0
5502797 2505788 2505788 defendant Rakeford John yeoman 595315 595315 Rakeford, John, of Ormesby, yeoman 1
5502798 2505788 2505788 defendant Drye William yeoman 595315 595315 Drye, William, of Ormesby, yeoman 2
5502799 2505788 2505788 defendant Lacy John husbandman 594410 594410 Lacy, John, of Happesburgh, husbandman 3
5502800 2505788 2505788 defendant Elyes Thomas husbandman 595315 595315 Elyes, Thomas, of Ormesby, 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 13.675ms