home / cp40x

names

5 rows where place_id = 664815

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3974307 2015583 2015583 plaintiff Hastyng Martin esq 664815 664815 Hastyng, Martin, of Elsing, esq 0
4271414 2120017 2120017 defendant Manwood Edmund tanner 664815 664815 Manwood, Edmund, of Elsing, yeoman, tanner 0
4321627 2137652 2137652 defendant Browne Anthony esq 664815 664815 Browne, Anthony, of Elsing, esq 1
4323967 2138425 2138425 defendant Cullen or Cullyng Mary widow 664815 664815 Cullen or Cullyng, Mary, of Elsing, widow 1
4332155 2141049 2141049 defendant Leaman Thomas husbandman 664815 664815 Leaman, Thomas, of Elsing, husbandman 0

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