home / cp40x

names

6 rows where case_id = 2496067

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, place_id

id ▼ case_id role surname forename occupation place_id raw_segment seq
5470398 2496067 2496067 defendant (not given) Elizabeth abbess of Ramsey   Ramsey, Elizabeth, abbess of 0
5470399 2496067 2496067 defendant Styleman Robert clothmaker 854614 854614 Styleman, Robert, of Steeple Assheton, clothmaker 1
5470400 2496067 2496067 defendant White William butcher 602677 602677 White, William, of Assheton, butcher 2
5470401 2496067 2496067 defendant White William weaver 854614 854614 White, William, of Steeple Assheton, weaver 3
5470402 2496067 2496067 defendant Alant Thomas husbandman 602677 602677 Alant, Thomas, of Assheton, husbandman 4
5470403 2496067 2496067 defendant Touker Robert tailor 628299 628299 Touker, Robert, of Styple Assheton, tailor 5

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