home / cp40x

names

8 rows where case_id = 1866908

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3597717 1866908 1866908 plaintiff Sayvyle John knight   Sayvyle, John, knight 0
3597718 1866908 1866908 defendant Bentley Lawrence mercer 586074 586074 Bentley, Lawrence, of Heptonstall, mercer 0
3597719 1866908 1866908 defendant Bentley William sherman 586074 586074 Bentley, William, of Heptonstall, sherman 1
3597720 1866908 1866908 defendant Bentley Robert sherman 586074 586074 Bentley, Robert, of Heptonstall, sherman 2
3597721 1866908 1866908 defendant Marcroft Thomas butcher 586074 586074 Marcroft, Thomas, of Heptonstall, butcher 3
3597722 1866908 1866908 defendant Crosley Thomas laborer 586074 586074 Crosley, Thomas, of Heptonstall, laborer 4
3597723 1866908 1866908 defendant Gybson John yeoman 586074 586074 Gybson, John, of Heptonstall, yeoman 5
3597724 1866908 1866908 defendant Stansfeld Robert laborer 589469 589469 Stansfeld, Robert, of Stansfeld, laborer 6

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