home / cp40x

names

9 rows where case_id = 2460922

✎ 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
5352651 2460922 2460922 plaintiff Foliambe Henry esq   Foliambe, Henry, esq 0
5352652 2460922 2460922 defendant Smyth John   593728 593728 Smyth, John, of Horsley, scythe smith 0
5352653 2460922 2460922 defendant Shirwode John   593728 593728 Shirwode, John, of Horsley, scythe smith 1
5352654 2460922 2460922 defendant Kyet William cooper 586901 586901 Kyet, William, of Nottingham, cooper 2
5352655 2460922 2460922 defendant Hoton William lorimer 599035 599035 Hoton, William, of Retford, Notts, lorimer 3
5352656 2460922 2460922 defendant Pye John smith 586608 586608 Pye, John, of Newerk, Notts, smith 4
5352657 2460922 2460922 defendant Turnebull Johnm smith 587948 587948 Turnebull, Johnm, of Newerk, smith 5
5352658 2460922 2460922 defendant Marler John cooper 587631 587631 Marler, John, of Chesterfeld, cooper 6
5352659 2460922 2460922 defendant Holyn John husbandman 622070 622070 Holyn, John, of Beyghton, husbandman 7

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