home / cp40x

names

6 rows where case_id = 1964554

✎ 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
3821301 1964554 1964554 plaintiff Russell John (legal representative)   Russell, John, executor of 0
3821302 1964554 1964554 plaintiff Temple Francis gent 633300 633300 Temple, Francis, of Lynchelade, gent 1
3821303 1964554 1964554 defendant Chamfeld John maltman 587398 587398 Chamfeld, John, of Luton, Beds, maltman 0
3821304 1964554 1964554 defendant Chamfell or Chamsell Thomas husbandman 593495 593495 Chamfell or Chamsell, Thomas, of Luton, husbandman 1
3821305 1964554 1964554 defendant Perott John (legal representative) 632008 632008 Perott, John, of Lewton, maltman, executors of 2
3821306 1964554 1964554 defendant Kympton William yeoman 634781 634781 (Kympton, William, of Chesefled, Herts, yeoman 3

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 14.692ms