home / cp40x

names

6 rows where case_id = 2286467

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4769593 2286467 2286467 plaintiff Persons Thomas     Persons, Thomas 0
4769594 2286467 2286467 defendant Bocher John butcher 643032 643032 Bocher, John, of Haverhill, Suff, butcher 0
4769595 2286467 2286467 defendant Fraunseys Walter butcher 604476 604476 Fraunseys, Walter, of Haverhill, butcher 1
4769596 2286467 2286467 defendant Cok Richard butcher 790058 790058 Cok, Richard, of Hokewold, Norf, butcher 2
4769597 2286467 2286467 defendant Reve William hosteller 788591 788591 Reve, William, of Berkeweye, Herts, hosteller 3
4769598 2286467 2286467 defendant Mannyng John chapman 773474 773474 Mannyng, John, of Wyssebeche, chapman 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.706ms