home / cp40x

names

10 rows where case_id = 2003399

✎ 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
3939116 2003399 2003399 plaintiff Rokewode Roger esq   Rokewode, Roger, esq 0
3939117 2003399 2003399 plaintiff Rokewode Olivia     Olivia, his wife 1
3939118 2003399 2003399 defendant Farley William gent 653385 653385 Farley, William, of West Cretyng, gent 0
3939119 2003399 2003399 defendant Farley Thomas gent 656165 656165 Farley, Thomas, of Raynworth, Norf, gent 1
3939120 2003399 2003399 defendant Farley Simon yeoman 653385 653385 Farley, Simon, of West Cretyng, yeoman 2
3939121 2003399 2003399 defendant Salter John yeoman 653385 653385 Salter, John, of West Cretyng, yeoman 3
3939122 2003399 2003399 defendant Woody Robert butcher 588273 588273 Woody, Robert, of Stowmarket, butcher 4
3939123 2003399 2003399 defendant Woody Richard husbandman 588273 588273 Woody, Richard, of Stowmarket, husbandman 5
3939124 2003399 2003399 defendant Wade John laborer 653385 653385 Wade, John, of West Cretyng, laborer 6
3939125 2003399 2003399 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 7.847ms