home / cp40x

names

7 rows where case_id = 2323763

✎ 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
4890391 2323763 2323763 plaintiff Sparowe Thomas     Sparowe, Thomas 0
4890392 2323763 2323763 defendant Jonson William husbandman 587721 587721 Jonson, William, of Toynton, husbandman 0
4890393 2323763 2323763 defendant Hunnyng John husbandman 586982 586982 Hunnyng, John, of Algarkyrk, husbandman 1
4890394 2323763 2323763 defendant Wryght Gilbert husbandman 589460 589460 Wryght, Gilbert, of Spaldyng, husbandman 2
4890395 2323763 2323763 defendant Weston Gilbert husbandman 767105 767105 Weston, Gilbert, of Mukton, husbandman 3
4890396 2323763 2323763 defendant Smyth Simon chapman 589460 589460 Smyth, Simon, of Spaldyng, chapman 4
4890397 2323763 2323763 defendant Glover Richard laborer 589460 589460 Glover, Richard, of Spaldyng, laborer 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.001ms