home / cp40x

names

10 rows where case_id = 2003401

✎ 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
3939128 2003401 2003401 plaintiff Rokewoode Roger esq   Rokewoode, Roger, esq 0
3939129 2003401 2003401 plaintiff Rokewoode Olivia     Olivia, his wife 1
3939130 2003401 2003401 defendant Farley William gent 653385 653385 Farley, William, of West Cretyng, gent 0
3939131 2003401 2003401 defendant Farley Thomas gent 656165 656165 Farley, Thomas, of Raynworth, Norf, gent 1
3939132 2003401 2003401 defendant Farley Simon yeoman 653385 653385 Farley, Simon, of West Cretyng, yeoman 2
3939133 2003401 2003401 defendant Salter John yeoman 653385 653385 Salter, John, of West Cretyng, yeoman 3
3939134 2003401 2003401 defendant Wody Robert butcher 588273 588273 Wody, Robert, of Stowmarket, butcher 4
3939135 2003401 2003401 defendant Woody Richard husbandman 588273 588273 Woody, Richard, of Stowmarket, husbandman 5
3939136 2003401 2003401 defendant Wade John laborer 653385 653385 Wade, John, of West Cretyng, laborer 6
3939137 2003401 2003401 defendant Caley John   653385 653385 Caley, John, of West Cretyng, brick maker 7

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