home / cp40x

names

6 rows where case_id = 2363931

✎ 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
5024000 2363931 2363931 plaintiff Hether John     Hether, John 0
5024001 2363931 2363931 defendant Hunte Richard baker 765422 765422 Hunte, Richard, of Ilmystre, Soms, baker 0
5024002 2363931 2363931 defendant Westcote Richard husbandman 836474 836474 Westcote, Richard, of Westcote, Brydeford, husbandman 1
5024003 2363931 2363931 defendant Carselegh John husbandman 836475 836475 Carselegh, John, of Lustlegh, husbandman 2
5024004 2363931 2363931 defendant Mey John husbandman 836476 836476 Mey, John, of Heynek, husbandman 3
5024005 2363931 2363931 defendant Melbury John tucker 594312 594312 Melbury, John, of Chydlegh, tucker 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 11.103ms