home / cp40x

names

5 rows where place_id = 679148

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4034865 2037146 2037146 defendant Dabernon Thomas innkeeper 679148 679148 Dabernon, Thomas, of Asshberton, innkeeper 0
4871360 2318011 2318011 defendant Elyot Walter yeoman 679148 679148 Elyot, Walter, of Asshberton, yeoman 1
5247448 2429410 2429410 defendant Peche John husbandman 679148 679148 Peche, John, of Asshberton, husbandman 2
5247452 2429411 2429411 defendant Pech John husbandman 679148 679148 Pech, John, of Asshberton, husbandman 2
5428443 2483433 2483433 defendant Carpenter Walter husbandman 679148 679148 Carpenter, Walter, of Asshberton, 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 15.453ms