home / cp40x

names

7 rows where case_id = 2439909

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5282380 2439909 2439909 plaintiff de Ledes Richard prior of Monk Bretton Priory   de Ledes, Richard, prior of Monk Bretton Priory 0
5282381 2439909 2439909 defendant Parkyn John husbandman 608265 608265 Parkyn, John, of Derfeld, husbandman 0
5282382 2439909 2439909 defendant Kent Henrym tailor 586887 586887 Kent, Henrym, of Wakefeld, tailor 1
5282383 2439909 2439909 defendant Kent John smith 627413 627413 Kent, John, of Dewesbery, smith 2
5282384 2439909 2439909 defendant Clyff John yeoman 868339 868339 Clyff, John, of Bernsley, yeoman 3
5282385 2439909 2439909 defendant White Thomas husbandman 868340 868340 White, Thomas, of Thornescogh, husbandman 4
5282386 2439909 2439909 defendant Carter William husbandman 608265 608265 Carter, William, of Derfeld, husbandman 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 16.81ms