home / cp40x

names

6 rows where case_id = 2343368

✎ 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
4954725 2343368 2343368 plaintiff Steynolf Richard merchant 585936 585936 Steynolf, Richard, of Norwich, merchant 0
4954726 2343368 2343368 defendant Banyard Thomas yeoman 587331 587331 Banyard, Thomas, of Causton, yeoman 0
4954727 2343368 2343368 defendant Payn Ralph painter 587331 587331 Payn, Ralph, of Causton, painter 1
4954728 2343368 2343368 defendant Randolf William yeoman 586365 586365 Randolf, William, of Wymondham, yeoman 2
4954729 2343368 2343368 defendant Colman Richard yeoman 586365 586365 Colman, Richard, of Wymondham, yeoman 3
4954730 2343368 2343368 defendant Waterman William smith 591527 591527 Waterman, William, of Gorleston, Suff, smith 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 15.361ms