home / cp40x

names

6 rows where case_id = 2289348

✎ 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
4778814 2289348 2289348 plaintiff Blaket John knight   Blaket, John, knight 0
4778815 2289348 2289348 defendant Solans Robert yeoman 795277 795277 Solans, Robert, of Upleden, yeoman 0
4778816 2289348 2289348 defendant Staure Thomas yeoman 598669 598669 Staure, Thomas, of Newenham, yeoman 1
4778817 2289348 2289348 defendant Haukesok Walter yeoman 586958 586958 Haukesok, Walter, of Gloucester, yeoman 2
4778818 2289348 2289348 defendant Trowell William yeoman 597874 597874 Trowell, William, of Stowe St Edward, yeoman 3
4778819 2289348 2289348 defendant Heydon John yeoman 588884 588884 Heydon, John, of Aure, 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.627ms