home / cp40x

names

7 rows where case_id = 2520637

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5552036 2520637 2520637 plaintiff Deynes Thomas     Deynes, Thomas 0
5552037 2520637 2520637 plaintiff Plumpsted Henry     Plumpsted, Henry 1
5552038 2520637 2520637 defendant Thorne Henry yeoman 899243 899243 Thorne, Henry, of Alby, Suff, yeoman 0
5552039 2520637 2520637 defendant Partryche John, senior smith 591576 591576 Partryche, John, senior, of Smalburgh, smith 1
5552040 2520637 2520637 defendant Grey Thomas merchant 899244 899244 Grey, Thomas, of Kyrkeby, Sokon, Essex, merchant 2
5552041 2520637 2520637 defendant Rose John husbandman 636770 636770 Rose, John, of Honeton St John, husbandman 3
5552042 2520637 2520637 defendant Gardener Thomas husbandman 613875 613875 Gardener, Thomas, of Staleham, 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 8.332ms