home / cp40x

names

6 rows where case_id = 2423236

✎ 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
5225854 2423236 2423236 plaintiff Smalley Richard     Smalley, Richard 0
5225855 2423236 2423236 defendant Bete John glover 770499 770499 Bete, John, of Brun, glover 0
5225856 2423236 2423236 defendant Thystelton Robert husbandman 623310 623310 Thystelton, Robert, of Steynby, husbandman 1
5225857 2423236 2423236 defendant Aleyn William husbandman 646782 646782 Aleyn, William, of South Withom, husbandman 2
5225858 2423236 2423236 defendant Hortop William courser 604401 604401 Hortop, William, of Gunwardby, courser 3
5225859 2423236 2423236 defendant Watson Richard laborer 604401 604401 Watson, Richard, of Gunwardby, laborer 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 15.884ms