home / cp40x

names

6 rows where case_id = 1947221

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3766620 1947221 1947221 plaintiff Mathewes George     Mathewes, George 0
3766621 1947221 1947221 defendant Colyns John husbandman 625834 625834 Colyns, John, of Erdewyke, husbandman 0
3766622 1947221 1947221 defendant Jamys Thomas husbandman 625835 625835 Jamys, Thomas, of Eggeton, husbandman 1
3766623 1947221 1947221 defendant Mylward Roger husbandman 625836 625836 Mylward, Roger, of Toterton, husbandman 2
3766624 1947221 1947221 defendant Bawdewyn William husbandman 612247 612247 Bawdewyn, William, of Monslowe, husbandman 3
3766625 1947221 1947221 defendant Appolde David husbandman 625837 625837 Appolde, David, of Temsetur, 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 14.309ms