home / cp40x

names

7 rows where case_id = 2432836

✎ 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
5258678 2432836 2432836 plaintiff Hardbene John     Hardbene, John 0
5258679 2432836 2432836 defendant Asfordby John gent 626243 626243 Asfordby, John, of Billesby, gent 0
5258680 2432836 2432836 defendant White John thatcher 626243 626243 together with White, John, of Billesby, thatcher 1
5258681 2432836 2432836 defendant Western Robert husbandman 626243 626243 Western, Robert, of Billesby, husbandman 2
5258682 2432836 2432836 defendant Fresshemer John husbandman 602915 602915 Fresshemer, John, of Hanney, husbandman 3
5258683 2432836 2432836 defendant Waltham Richard husbandman 626523 626523 Waltham, Richard, of Saleby, husbandman 4
5258684 2432836 2432836 defendant Malton Edard husbandman 791639 791639 Malton, Edard, of Thoresthorp, 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 15.434ms