home / cp40x

names

7 rows where case_id = 2461188

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5353563 2461188 2461188 plaintiff Goode John     Goode, John 0
5353564 2461188 2461188 plaintiff Goode William     Goode, William 1
5353565 2461188 2461188 defendant Ferrour Stephen mercer 585936 585936 Ferrour, Stephen, of Norwich, mercer 0
5353566 2461188 2461188 defendant Porter Barholomew fuller 585936 585936 Porter, Barholomew, of Norwich, fuller 1
5353567 2461188 2461188 defendant Pykard Richard   585936 585936 Pykard, Richard, of Norwich, coverlet weaver 2
5353568 2461188 2461188 defendant Smyth William draper 585936 585936 Smyth, William, of Norwich, draper 3
5353569 2461188 2461188 defendant Lawes William yeoman 628378 628378 Lawes, William, of Borough, yeoman 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.484ms