home / cp40x

names

7 rows where case_id = 2447112

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5307059 2447112 2447112 plaintiff Odeham John (legal representative) 586180 586180 Odeham, John, of Bury St Edmunds, draper, executrix of 0
5307060 2447112 2447112 plaintiff Odeham Margaret formerly wife of John   Odeham, Margaret, formerly wife of John 1
5307061 2447112 2447112 defendant Wryght Richard yeoman 770765 770765 Wryght, Richard, of Fulburn, Cambs, yeoman 0
5307062 2447112 2447112 defendant Indy or Judy John husbandman 871388 871388 Indy or Judy, John, of Asshefeld, by Badwell, Suff, husbandman 1
5307063 2447112 2447112 defendant Frevyle William esq 586180 586180 Frevyle, William, of Bury St Edmunds, esq 2
5307064 2447112 2447112 defendant Croftys John gent 586180 586180 Croftys, John, of Bury St Edmunds, gent 3
5307065 2447112 2447112 defendant Forde Thomas husbandman 766964 766964 Forde, Thomas, of Cokefeld, Suff, 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 16.783ms