home / cp40x

names

11 rows where case_id = 1961544

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3811652 1961544 1961544 plaintiff Chaworth John esq   Chaworth, John, esq 0
3811653 1961544 1961544 defendant More John yeoman 588089 588089 More, John, of Bakewell, yeoman 0
3811654 1961544 1961544 defendant Stapurchild Philip husbandman 588089 588089 Stapurchild, Philip, of Bakewell, husbandman 1
3811655 1961544 1961544 defendant Game Thomas husbandman 588089 588089 Game, Thomas, of Bakewell, husbandman 2
3811656 1961544 1961544 defendant Pasey William husbandman 588089 588089 Pasey, William, of Bakewell, husbandman 3
3811657 1961544 1961544 defendant Wilmot Roger husbandman 588089 588089 Wilmot, Roger, of Bakewell, husbandman 4
3811658 1961544 1961544 defendant Browne John husbandman 588089 588089 Browne, John, of Bakewell, husbandman 5
3811659 1961544 1961544 defendant Coke Richard husbandman 588089 588089 Coke, Richard, of Bakewell, husbandman 6
3811660 1961544 1961544 defendant Coke John husbandman 588089 588089 Coke, John, of Bakewell, husbandman 7
3811661 1961544 1961544 defendant Bassett John husbandman 588089 588089 Bassett, John, of Bakewell, husbandman 8
3811662 1961544 1961544 defendant Tyler alias Derrest John yeoman 633264 633264 Tyler alias Derrest, John, of Puckilchurche, Glos, yeoman 9

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 19.548ms