home / cp40x

names

6 rows where place_id = 597722

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3629600 1904113 1904113 defendant Newport John   597722 597722 Newport, John, of Waterford 0
3998448 2024183 2024183 defendant Luker Richard   597722 597722 Luker, Richard, of Waterford, mayor and aldermen of London ex parte 0
4550860 2216204 2216204 defendant Andrewe William   597722 597722 Andrewe, William, of Waterford, of Hibnor 1
4711691 2268979 2268979 defendant Burneby George esq 597722 597722 (Burneby, George, of Waterford, esq 1
4719711 2271511 2271511 defendant Smyth John smith 597722 597722 Smyth, John, of Waterford, smith 0
4957552 2344230 2344230 plaintiff West Simon   597722 597722 West, Simon, of Waterford 0

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