home / cp40x

names

6 rows where case_id = 2384054

✎ 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
5092058 2384054 2384054 plaintiff Oldhalle William draper 597970 597970 Oldhalle, William, of Feryng, draper 0
5092059 2384054 2384054 defendant Hyne or Hyve John weaver 623178 623178 Hyne or Hyve, John, of Sudbery, Suff, weaver 0
5092060 2384054 2384054 defendant Stanford William husbandman 845390 845390 Stanford, William, of Coldaunger, husbandman 1
5092061 2384054 2384054 defendant Samon John butcher 845391 845391 Samon, John, of Rewenall, butcher 2
5092062 2384054 2384054 defendant Snape John drover 587920 587920 Snape, John, of Maldon, drover 3
5092063 2384054 2384054 defendant Batell John butcher 587920 587920 Batell, John, of Maldon, butcher 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.945ms