home / cp40x

names

5 rows where case_id = 2034838

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4028480 2034838 2034838 plaintiff Coppyn Robert gent, attorney of the Bench   Coppyn, Robert, gent, attorney of the Bench 0
4028481 2034838 2034838 defendant Asshyll John yeoman 604239 604239 Asshyll, John, of Nedeham Markett, yeoman 0
4028482 2034838 2034838 defendant Orforde William yeoman 666697 666697 Orforde, William, of Cratfelde, yeoman 1
4028483 2034838 2034838 defendant Bowler James   662799 662799 Bowler, James, of Fresyngfelde, wheelwright 2
4028484 2034838 2034838 defendant Page Robert, junior husbandman 641251 641251 Page, Robert, junior, of Brundyshe, husbandman 3

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.991ms