home / cp40x

names

6 rows where case_id = 2088046

✎ 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
4178747 2088046 2088046 plaintiff Keene John     Keene, John 0
4178748 2088046 2088046 defendant Rogers Edward esq 640430 640430 Rogers, Edward, of Cannyngton, esq 0
4178749 2088046 2088046 defendant White John yeoman 640430 640430 White, John, of Cannyngton, yeoman 1
4178750 2088046 2088046 defendant Walker William yeoman 640430 640430 Walker, William, of Cannyngton, yeoman 2
4178751 2088046 2088046 defendant Denman alias Snowe John yeoman 640430 640430 Denman alias Snowe, John, of Cannyngton, yeoman 3
4178752 2088046 2088046 defendant Tucker Vincent yeoman 640430 640430 Tucker, Vincent, of Cannyngton, 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.428ms