home / cp40x

names

6 rows where case_id = 2454581

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5331760 2454581 2454581 plaintiff Cage Robert     Cage, Robert 0
5331761 2454581 2454581 defendant Suthawe or Suthache Walter husbandman 874298 874298 Suthawe or Suthache, Walter, of Takelleston, Norf, husbandman 0
5331762 2454581 2454581 defendant Coty Thomas husbandman 874299 874299 Coty, Thomas, of Takelleston, husbandman 1
5331763 2454581 2454581 defendant Neuman John shoemaker 586953 586953 Neuman, John, of Sudbury, shoemaker 2
5331764 2454581 2454581 defendant Leveryngton William husbandman 626559 626559 Leveryngton, William, of Garbolesham, Norf, husbandman 3
5331765 2454581 2454581 defendant Route Richard shoemaker 664352 664352 Route, Richard, of Mendlesham, shoemaker 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 12.988ms