home / cp40x

names

6 rows where case_id = 2121033

✎ 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
4274515 2121033 2121033 plaintiff Barlowe Thomas (legal representative)   Barlowe, Thomas, executor of 0
4274516 2121033 2121033 plaintiff Savadge William     Savadge, William 1
4274517 2121033 2121033 defendant Hamersley John blacksmith 727969 727969 Hamersley, John, of Brayntree, blacksmith 0
4274518 2121033 2121033 defendant Coymer William husbandman 648712 648712 Coymer, William, of Lanham, Suff, husbandman 1
4274519 2121033 2121033 defendant Blande Elias blacksmith 727970 727970 Blande, Elias, of Cogshall, blacksmith 2
4274520 2121033 2121033 defendant Johnson William glasier 727969 727969 Johnson, William, of Brayntree, glasier 3

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 10.749ms