home / cp40x

names

7 rows where case_id = 2525208

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5568054 2525208 2525208 plaintiff Ernley John     Ernley, John 0
5568055 2525208 2525208 defendant Averey Hugh yeoman 593153 593153 Averey, Hugh, of Middelton, yeoman 0
5568056 2525208 2525208 defendant Burkes William yeoman 825967 825967 Burkes, William, of Warmeley, yeoman 1
5568057 2525208 2525208 defendant Harmon Hugh yeoman 900995 900995 Harmon, Hugh, of Verewodhall, yeoman 2
5568058 2525208 2525208 defendant Ronson John yeoman 593153 593153 Ronson, John, of Middelton, yeoman 3
5568059 2525208 2525208 defendant Colle Richard   599213 599213 Colle, Richard, of Sutton Colfeld, "foyster" 4
5568060 2525208 2525208 defendant Deye Thomas laborer 599213 599213 Deye, Thomas, of Sutton Colfeld, laborer 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 14.751ms