home / cp40x

names

6 rows where case_id = 2286993

✎ 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
4771262 2286993 2286993 plaintiff Saer William     Saer, William 0
4771263 2286993 2286993 defendant Fleccher William husbandman 586779 586779 Fleccher, William, of Brampton, husbandman 0
4771264 2286993 2286993 defendant Smyth William husbandman 685531 685531 Smyth, William, of Chesterfield, husbandman 1
4771265 2286993 2286993 defendant Dolfyn Robert husbandman 617271 617271 Dolfyn, Robert, of Alferton, husbandman 2
4771266 2286993 2286993 defendant Boler William collier 586143 586143 Boler, William, of Norton, collier 3
4771267 2286993 2286993 defendant Horseknave Richard collier 614065 614065 Horseknave, Richard, of Ekynton, collier 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 17.661ms