home / cp40x

names

6 rows where case_id = 2209095

✎ 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
4528202 2209095 2209095 plaintiff Malthouse John   587028 587028 Malthouse, John, of whitby 0
4528203 2209095 2209095 defendant Hesilden William de   587028 587028 Hesilden, William de, of Whitby 0
4528204 2209095 2209095 defendant Stathe Richard of the   587028 587028 Stathe, Richard of the, of Whitby 1
4528205 2209095 2209095 defendant Clowecroft Robert fishmonger   Clowecroft, Robert, fishmonger 2
4528206 2209095 2209095 defendant Peresson Robert panyer man   Peresson, Robert, panyer man 3
4528207 2209095 2209095 defendant Garton John de, of Whitby, fishmonger   Garton, John, de, of Whitby, fishmonger 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 14.054ms