home / cp40x

names

6 rows where case_id = 1874304

✎ 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
3621629 1874304 1874304 plaintiff Nytyngale William     Nytyngale, William 0
3621630 1874304 1874304 defendant Moor Hugh tailor 586865 586865 Moor, Hugh, of Glastonbury, Soms, tailor 0
3621631 1874304 1874304 defendant Necols Robert yeoman 591052 591052 Necols, Robert, of Barnet, Herts, yeoman 1
3621632 1874304 1874304 defendant Dalons William draper 585869 585869 Dalons, William, of London, draper 2
3621633 1874304 1874304 defendant Pope John clerk 585869 585869 Pope, John, of London, clerk 3
3621634 1874304 1874304 defendant Cordall William yeoman 592545 592545 Cordall, William, of Basyngstoke, Hants, 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.314ms