home / cp40x

names

6 rows where case_id = 2000666

✎ 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
3930871 2000666 2000666 plaintiff Danby Christopher knight   Danby, Christopher, knight 0
3930872 2000666 2000666 defendant Stroder alias Bark Richard yeoman 654068 654068 Stroder alias Bark, Richard, of East Wytton, yeoman 0
3930873 2000666 2000666 defendant Oddy Lawrence yeoman 654068 654068 Oddy, Lawrence, of East Wytton, yeoman 1
3930874 2000666 2000666 defendant Amler Robert yeoman 654068 654068 Amler, Robert, of East Wytton, yeoman 2
3930875 2000666 2000666 defendant walker Miles yeoman 654068 654068 walker, Miles, of East Wytton,, yeoman 3
3930876 2000666 2000666 defendant Boynton Robert yeoman 654068 654068 Boynton, Robert, of East Wytton, 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 22.645ms