home / cp40x

names

7 rows where case_id = 2323676

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4890077 2323676 2323676 plaintiff Berkeley Maurice   592976 592976 Berkeley, Maurice, of Beverston, knight 0
4890078 2323676 2323676 defendant Fodrynghay John yeoman 817921 817921 Fodrynghay, John, of Bliddeslowe, yeoman 0
4890079 2323676 2323676 defendant Rede John yeoman 590944 590944 Rede, John, of Clyve, yeoman 1
4890080 2323676 2323676 defendant Hille William yeoman 592193 592193 Hille, William, of Westerley, yeoman 2
4890081 2323676 2323676 defendant Pryde Lawrence yeoman 587689 587689 Pryde, Lawrence, of Frampton on Severn, yeoman 3
4890082 2323676 2323676 defendant Aure Nicholas yeoman 590631 590631 Aure, Nicholas, of Wesbury, yeoman 4
4890083 2323676 2323676 defendant Mile John yeoman 588010 588010 Mile, John, of Newent, yeoman 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.104ms