home / cp40x

names

7 rows where case_id = 2400084

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5146413 2400084 2400084 plaintiff Caldewell Benedict     Caldewell, Benedict 0
5146414 2400084 2400084 defendant Coghtesale Thomas laborer 593436 593436 Coghtesale, Thomas, of Westilton, laborer 0
5146415 2400084 2400084 defendant Dowrys John clerk 852942 852942 Dowrys, John, of Erilstonham or Earl Stonham, clerk 1
5146416 2400084 2400084 defendant Valentyne John laborer 604686 604686 Valentyne, John, of Holbroke, laborer 2
5146417 2400084 2400084 defendant Wardeyn John husbandman 781719 781719 Wardeyn, John, of Earls Soham, husbandman 3
5146418 2400084 2400084 defendant Thorde Thomas laborer 589928 589928 Thorde, Thomas, of Mendham, laborer 4
5146419 2400084 2400084 defendant Mors John husbandman 589928 589928 Mors, John, of Mendham, husbandman 5

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