home / cp40x

names

6 rows where case_id = 2033774

✎ 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
4025481 2033774 2033774 plaintiff Brome or Browne Anthony fishmonger 585869 585869 Brome or Browne, Anthony, of London, fishmonger 0
4025482 2033774 2033774 defendant Rowley William gent 613930 613930 Rowley, William, of Clements Inn, Middx, gent 0
4025483 2033774 2033774 defendant Bybby John yeoman 677101 677101 Bybby, John, of Sapwell, Herts, yeoman 1
4025484 2033774 2033774 defendant Langam Henry gent 661189 661189 Langam, Henry, of Kennyngton, Lincs, gent 2
4025485 2033774 2033774 defendant Shellett Roger gent 672764 672764 Shellett, Roger, of Staple Inn, Middx, gent 3
4025486 2033774 2033774 defendant Hearde Edward gent 677102 677102 Hearde, Edward, of Methley, Yorks, gent 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 14.043ms