home / cp40x

names

6 rows where case_id = 1916314

✎ 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
3669228 1916314 1916314 plaintiff Baynton Edward esq   Baynton, Edward, esq 0
3669229 1916314 1916314 defendant Davys John husbandman 607434 607434 Davys, John, of Staunton Quynton, husbandman 0
3669230 1916314 1916314 defendant Sparowe Robert husbandman 607434 607434 Sparowe, Robert, of Staunton Quynton, husbandman 1
3669231 1916314 1916314 defendant Baylly William husbandman 607434 607434 Baylly, William, of Staunton Quynton, husbandman 2
3669232 1916314 1916314 defendant Hybberd John husbandman 607434 607434 Hybberd, John, of Staunton Quynton, husbandman 3
3669233 1916314 1916314 defendant Bayly Thomas husbandman 587058 587058 Bayly, Thomas, of Sutton, 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 13.752ms