home / cp40x

names

6 rows where place_id = 784041

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4568595 2221756 2221756 defendant Idrych John   784041 784041 Idrych, John, of Asshemere, parson 3
4685080 2260934 2260934 defendant Pyper William laborer 784041 784041 Pyper, William, of Asshemere, laborer 0
4685081 2260934 2260934 defendant Gerveys John laborer 784041 784041 Gerveys, John, of Asshemere, laborer 1
4774262 2287933 2287933 defendant Lyman Thomas yeoman 784041 784041 Lyman, Thomas, of Asshemere, yeoman 1
4902033 2327243 2327243 plaintiff Sprott John clerk 784041 784041 Sprott, John, of Asshemere, clerk 0
5587091 2530992 2530992 defendant Stokys Thomas yeoman 784041 784041 Stokys, Thomas, of Asshemere, yeoman 0

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