home / cp40x

names

6 rows where case_id = 2522747

✎ 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
5559528 2522747 2522747 plaintiff Ruggeley Humphrey draper 585869 585869 Ruggeley, Humphrey, of London, draper 0
5559529 2522747 2522747 defendant Willoughby Anthony esq 608688 608688 Willoughby, Anthony, of Broke, Wilts, esq 0
5559530 2522747 2522747 defendant Iwardby John   588729 588729 Iwardby, John, of Ewell, Surrey, knight 1
5559531 2522747 2522747 defendant Jerveys John yeoman 900080 900080 Jerveys, John, of Eculsale, Staffs, yeoman 2
5559532 2522747 2522747 defendant Lewely John gent 900081 900081 Lewely, John, of Pecuchurche, Glos, gent 3
5559533 2522747 2522747 defendant Stranwysshe Thomas gent 585869 585869 Stranwysshe, Thomas, of London, gent 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 15.1ms