home / cp40x

names

6 rows where case_id = 1948315

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3770105 1948315 1948315 plaintiff Scudamore John esq, sheriff of Merioneth   Scudamore, John, esq, sheriff of Merioneth 0
3770106 1948315 1948315 defendant Hanmere Thomas   626432 626432 Hanmere, Thomas, of Hanmere, Flynt, March of Wales, knight 0
3770107 1948315 1948315 defendant Leighton John esq 626433 626433 Leighton, John, of Stretonsdale, Salop, esq 1
3770108 1948315 1948315 defendant Kynnarston Thomas gent 626434 626434 Kynnarston, Thomas, of Feynamer, Salop, gent 2
3770109 1948315 1948315 defendant Thornes Roger gent 586697 586697 Thornes, Roger, of Shrewsbury, gent 3
3770110 1948315 1948315 defendant ap Jenkyn Humphrey ap Howell gent 626435 626435 ap Jenkyn, Humphrey ap Howell, of Towen, Merioneth, gent 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.255ms