home / cp40x

names

6 rows where case_id = 2499272

✎ 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
5481005 2499272 2499272 plaintiff Dynne John     Dynne, John 0
5481006 2499272 2499272 defendant Pyers Thomas yeoman 668605 668605 Pyers, Thomas, of Donwich, Suff, yeoman 0
5481007 2499272 2499272 defendant Roberdes Nicholas smith 586940 586940 Roberdes, Nicholas, of Baldeswell, smith 1
5481008 2499272 2499272 defendant Dakke Robert husbandman 586940 586940 Dakke, Robert, of Baldeswell, husbandman 2
5481009 2499272 2499272 defendant Horne William clerk 601348 601348 Horne, William, of Castelacre, clerk 3
5481010 2499272 2499272 defendant Burnham John husbandman 588539 588539 Burnham, John, of Est Rudham, husbandman 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.548ms