home / cp40x

names

6 rows where case_id = 1911058

✎ 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
3652293 1911058 1911058 plaintiff Tysewell Thomas     Tysewell, Thomas 0
3652294 1911058 1911058 defendant Willys Richard husbandman 602915 602915 Willys, Richard, of Hanney, husbandman 0
3652295 1911058 1911058 defendant Willys John husbandman 587577 587577 Willys, John, of Wolston, husbandman 1
3652296 1911058 1911058 defendant Coloron Walter husbandman 602916 602916 Coloron, Walter, of Hynksey, husbandman 2
3652297 1911058 1911058 defendant Strete Richard husbandman 602915 602915 Strete, Richard, of Hanney, husbandman 3
3652298 1911058 1911058 defendant Coleron Marion spinster 602917 602917 Coleron, Marion, of Kynsey, spinster 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.84ms