home / cp40x

names

6 rows where case_id = 2278335

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4742586 2278335 2278335 plaintiff Chamberlayn Wimocus clerk   Chamberlayn, Wimocus, clerk, on his own account 0
4742587 2278335 2278335 defendant Naylingherst Hugh esq 594009 594009 Naylingherst, Hugh, of Branktre, Essex, esq 0
4742588 2278335 2278335 defendant Payn Thomas   585869 585869 Payn, Thomas, of London, yeoman of St John's Street, without the barrs of Smithfield 1
4742589 2278335 2278335 defendant Smyth John draper 594009 594009 Smyth, John, of Branktre, Essex, draper 2
4742590 2278335 2278335 defendant Belle John butcher 590200 590200 Belle, John, of West Hamme, Essex, butcher 3
4742591 2278335 2278335 defendant Turnour Walter tailor 768130 768130 Turnour, Walter, of Estreford, Essex, tailor 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 22.988ms