home / cp40x

names

8 rows where case_id = 2507393

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5507979 2507393 2507393 plaintiff Delves Ellen widow   Delves, Ellen, widow 0
5507980 2507393 2507393 defendant Hyde Randolph yeoman 587086 587086 Hyde, Randolph, of Uttoxater, yeoman 0
5507981 2507393 2507393 defendant More William, junior yeoman 587086 587086 More, William, junior, of Uttoxater, yeoman 1
5507982 2507393 2507393 defendant Slak Hugh yeoman 587086 587086 Slak, Hugh, of Uttoxater, yeoman 2
5507983 2507393 2507393 defendant Staley Thurstan yeoman 894629 894629 Staley, Thurstan, of Beamhirst, yeoman 3
5507984 2507393 2507393 defendant Smyth John husbandman 587326 587326 Smyth, John, of Crakemershe, husbandman 4
5507985 2507393 2507393 defendant Poke William husbandman 587326 587326 Poke, William, of Crakemershe, husbandman 5
5507986 2507393 2507393 defendant Wylde John yeoman 587326 587326 Wylde, John, of Crakemershe, yeoman 6

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.262ms