home / cp40x

names

7 rows where case_id = 2322802

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4887080 2322802 2322802 plaintiff Webbe Walter     Webbe, Walter 0
4887081 2322802 2322802 defendant Webbe William husbandman 636480 636480 Webbe, William, of Lydney, husbandman 0
4887082 2322802 2322802 defendant Keggewyn Henry husbandman 636480 636480 Keggewyn, Henry, of Lydney, husbandman 1
4887083 2322802 2322802 defendant Huchyn Walter husbandman 588883 588883 Huchyn, Walter, of Ailberton, husbandman 2
4887084 2322802 2322802 defendant Heyward Thomas husbandman 636480 636480 Heyward, Thomas, of Lydney, husbandman 3
4887085 2322802 2322802 defendant Alford Richard husbandman 636480 636480 Alford, Richard, of Lydney, husbandman 4
4887086 2322802 2322802 defendant Rede Thomas husbandman 636480 636480 Rede, Thomas, of Lydney, husbandman 5

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