home / cp40x

names

6 rows where case_id = 2416829

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5203681 2416829 2416829 plaintiff Cosyn William dyer 755389 755389 Cosyn, William, of Bishop's Lenn, dyer 0
5203682 2416829 2416829 defendant Bustong Gregory husbandman 859100 859100 Bustong, Gregory, of Runehale, husbandman 0
5203683 2416829 2416829 defendant Lawes Richard husbandman 859100 859100 Lawes, Richard, of Runehale, husbandman 1
5203684 2416829 2416829 defendant Lawes John, sen husbandman 859100 859100 Lawes, John, sen, of Runehale, husbandman 2
5203685 2416829 2416829 defendant Clerk Edmund husbandman 615541 615541 Clerk, Edmund, of Geyton, husbandman 3
5203686 2416829 2416829 defendant Knoute Peter clerk & vicar 587709 587709 Knoute, Peter, of Gayton, clerk & vicar 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 6.66ms