home / cp40x

names

6 rows where case_id = 2474189

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5396871 2474189 2474189 plaintiff Brent Roger     Brent, Roger 0
5396872 2474189 2474189 plaintiff Billesdon Robert     Billesdon, Robert 1
5396873 2474189 2474189 defendant Steward Richard gent 882909 882909 Steward, Richard, of Great Peryngdon, Essex, gent 0
5396874 2474189 2474189 defendant Steward Thomas yeoman 882909 882909 Steward, Thomas, of Great Peryngdon, Essex, yeoman 1
5396875 2474189 2474189 defendant Cappe John yeoman 882910 882910 Cappe, John, of Great Bentlye, Essex, yeoman 2
5396876 2474189 2474189 defendant Feynt William yeoman 652949 652949 Feynt, William, of Rydon, Essex, yeoman 3

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 12.336ms