home / cp40x

names

6 rows where case_id = 1904597

✎ 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
3631275 1904597 1904597 plaintiff Gebans John     Gebans, John 0
3631276 1904597 1904597 defendant Hyll John husbandman 598134 598134 Hyll, John, of Preston Wynne, husbandman 0
3631277 1904597 1904597 defendant Adams John baker 586208 586208 Adams, John, of Hereford, baker 1
3631278 1904597 1904597 defendant Taylour Adam butcher 598135 598135 Taylour, Adam, of Herefird, butcher 2
3631279 1904597 1904597 defendant Penderyn Lewis (legal representative)   Penderyn, Lewis, executrix of 3
3631280 1904597 1904597 defendant Penderyn Joan widow 586208 586208 Penderyn, Joan, of Hereford, widow 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.264ms