home / cp40x

names

7 rows where case_id = 2426722

✎ 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
5238053 2426722 2426722 plaintiff Grene John     Grene, John 0
5238054 2426722 2426722 defendant Bradway Thomas husbandman 586934 586934 Bradway, Thomas, of Stotfold, husbandman 0
5238055 2426722 2426722 defendant Person Thomas husbandman 862822 862822 Person, Thomas, of Waltersford, Herts, husbandman 1
5238056 2426722 2426722 defendant Botiller Richard butcher 597338 597338 Botiller, Richard, of Henlowe, butcher 2
5238057 2426722 2426722 defendant Bradway John laborer 586934 586934 Bradway, John, of Stotfold, laborer 3
5238058 2426722 2426722 defendant Bocher alias Gobyon Simon (legal representative) 846497 846497 Bocher alias Gobyon, Simon, of Barton in the Clay, administratrix of 4
5238059 2426722 2426722 defendant Gobyon Emma widow 846497 846497 Gobyon, Emma, of Barton in the Clay, widow 5

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