home / cp40x

names

7 rows where case_id = 2510957

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5519568 2510957 2510957 plaintiff Best Thomas     Best, Thomas 0
5519569 2510957 2510957 defendant Davy John smith 798717 798717 Davy, John, of Lamsyng, smith 0
5519570 2510957 2510957 defendant Calke or Cawe John butcher 588918 588918 Calke or Cawe, John, of Petworth, butcher 1
5519571 2510957 2510957 defendant Owset John yeoman 588918 588918 Owset, John, of Petworth, yeoman 2
5519572 2510957 2510957 defendant Pays William husbandman 613661 613661 Pays, William, of Amberley, husbandman 3
5519573 2510957 2510957 defendant Emory Peter (legal representative)   Emory, Peter, executrix of 4
5519574 2510957 2510957 defendant Emory Agnes widow 798717 798717 Emory, Agnes, of Lamsyng, widow 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 15.699ms