home / cp40x

names

6 rows where case_id = 2433012

✎ 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
5259244 2433012 2433012 plaintiff Hogges Thomas     Hogges, Thomas 0
5259245 2433012 2433012 defendant Baron John tailor 627745 627745 Baron, John, of Redborn, tailor 0
5259246 2433012 2433012 defendant Bele John sawyer 587015 587015 Bele, John, of St Albans, sawyer 1
5259247 2433012 2433012 defendant Renels or Revels William tailor 587015 587015 Renels or Revels, William, of St Albans, tailor 2
5259248 2433012 2433012 defendant Bocher William butcher 587015 587015 Bocher, William, of St Albans, butcher 3
5259249 2433012 2433012 defendant Smyth William cordwainer 587015 587015 Smyth, William, of St Albans, cordwainer 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.89ms