home / cp40x

names

6 rows where case_id = 2315420

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4863045 2315420 2315420 plaintiff Dorward John esq   Dorward, John, esq 0
4863046 2315420 2315420 defendant Lynlowe Robert yeoman 601422 601422 Lynlowe, Robert, of Hertfordstokke, yeoman 0
4863047 2315420 2315420 defendant Salvage John yeoman 592495 592495 Salvage, John, of Wodeham Water, yeoman 1
4863048 2315420 2315420 defendant Stephen John husbandman 814343 814343 Stephen, John, of Chikenale, husbandman 2
4863049 2315420 2315420 defendant Pychard John yeoman 589186 589186 Pychard, John, of Halstede, yeoman 3
4863050 2315420 2315420 defendant Spencer John yeoman 595278 595278 Spencer, John, of Horndon, yeoman 4

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