home / cp40x

names

6 rows where case_id = 1869351

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3605381 1869351 1869351 plaintiff Jakes John draper 585869 585869 Jakes, John, of London, draper 0
3605382 1869351 1869351 defendant Crosser Robert dyer 586731 586731 Crosser, Robert, of Wakefeld, Yorks, dyer 0
3605383 1869351 1869351 defendant Middilton Brian esq 591734 591734 Middilton, Brian, of Popilton, Yorks, esq 1
3605384 1869351 1869351 defendant Middilton William gent 591735 591735 Middilton, William, of Popilton, gent 2
3605385 1869351 1869351 defendant Rowse Thomas grocer 585869 585869 Rowse, Thomas, of London, grocer 3
3605386 1869351 1869351 defendant Pulvertoft John clerk 585869 585869 Pulvertoft, John, of London, draper, son of Pulvertoft, William, of Holbeche, Lincs, clerk 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.496ms