home / cp40x

names

6 rows where case_id = 2468174

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5376272 2468174 2468174 plaintiff Savage Ralph     Savage, Ralph 0
5376273 2468174 2468174 defendant Topper John husbandman 770518 770518 Topper, John, of Sterthorp, husbandman 0
5376274 2468174 2468174 defendant Tebot Thomas husbandman 593987 593987 Tebot, Thomas, of gunthorp, husbandman 1
5376275 2468174 2468174 defendant Bartram John husbandman 783014 783014 Bartram, John, of Bunthorp, husbandman 2
5376276 2468174 2468174 defendant Hopkyn William husbandman 593987 593987 Hopkyn, William, of Gunthorp, husbandman 3
5376277 2468174 2468174 defendant Undren Richard husbandman 770518 770518 Undren, Richard, of Sterthorp, 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 5.692ms