home / cp40x

names

6 rows where case_id = 2468048

✎ 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
5375876 2468048 2468048 plaintiff Rogger Thomas     Rogger, Thomas 0
5375877 2468048 2468048 defendant Down William husbandman 586422 586422 Down, William, of Lynton, husbandman 0
5375878 2468048 2468048 defendant Godard Robert yeoman 605288 605288 Godard, Robert, of Maidstone, yeoman 1
5375879 2468048 2468048 defendant (illegible) John laborer 586569 586569 --, John, of Merden, laborer 2
5375880 2468048 2468048 defendant Hogge John   603681 603681 Hogge, John, of Hedcorn 3
5375881 2468048 2468048 defendant Culter Clement husbandman 594383 594383 Culter, Clement, of West Farlegh, 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.96ms