home / cp40x

names

7 rows where case_id = 2533372

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5594889 2533372 2533372 plaintiff (not given) Thomas prior of Bodmyn Priory   Bodmyn Priory, Thomas, prior of 0
5594890 2533372 2533372 defendant Cocke Michael husbandman 887970 887970 Cocke, Michael, of Tregewyn, husbandman 0
5594891 2533372 2533372 defendant Body John husbandman 903973 903973 Body, John, of Wythyell Goys, husbandman 1
5594892 2533372 2533372 defendant Brytton Odo husbandman 887970 887970 Brytton, Odo, of Tregewyn, husbandman 2
5594893 2533372 2533372 defendant Peke Robert husbandman 903974 903974 Peke, Robert, of Bocaron Major, husbandman 3
5594894 2533372 2533372 defendant Cocke John husbandman 903975 903975 Cocke, John, of Bocarn Major, husbandman 4
5594895 2533372 2533372 defendant Whyte William husbandman 903975 903975 Whyte, William, of Bocarn Major, 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 13.921ms