home / cp40x

names

6 rows where case_id = 2403801

✎ 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
5159181 2403801 2403801 plaintiff Roger John   854497 854497 Roger, John, of Chipping Faryndon 0
5159182 2403801 2403801 defendant Frewyn Robert husbandman 854498 854498 Frewyn, Robert, of Stoke Moylys, Oxon, husbandman 0
5159183 2403801 2403801 defendant Sygry William husbandman 854499 854499 Sygry, William, of Stoke Moylys, husbandman 1
5159184 2403801 2403801 defendant Prat John husbandman 854500 854500 Prat, John, of Halyport, in Bray, Berks, husbandman 2
5159185 2403801 2403801 defendant Clenche John draper 589060 589060 Clenche, John, of Wantynge, draper 3
5159186 2403801 2403801 defendant Hachet John husbandman 747763 747763 Hachet, John, of Churchehill, Oxon, 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 9.226ms