home / cp40x

names

6 rows where place_id = 646064

✎ 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
3888906 1986535 1986535 defendant Thompson Andrew smith 646064 646064 Thompson, Andrew, of Martelesham, smith 3
4575363 2223808 2223808 plaintiff Boteler Simon   646064 646064 Boteler, Simon, of Martelesham 0
4786410 2291793 2291793 defendant Smyth Roger clerk 646064 646064 Smyth, Roger, of Martelesham, clerk 1
4940794 2339149 2339149 defendant Bonge or Bouge William yeoman 646064 646064 Bonge or Bouge, William, of Martelesham, yeoman 1
5058350 2374042 2374042 defendant Sporle Henry yeoman 646064 646064 Sporle, Henry, of Martelesham, yeoman 0
5487462 2501143 2501143 defendant Haweser Thomas yeoman 646064 646064 Haweser, Thomas, of martelesham, yeoman 11

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 17.197ms