home / cp40x

names

5 rows where case_id = 2495634

✎ 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
5468923 2495634 2495634 plaintiff Cornewayle Thomas knight, formerly sheriff of Hereford   Cornewayle, Thomas, knight, formerly sheriff of Hereford 0
5468924 2495634 2495634 defendant Page William husbandman 890742 890742 Page, William, of Lentwardyne, in the Welsh Marches, husbandman 0
5468925 2495634 2495634 defendant Gyles Richard husbandman 663828 663828 Gyles, Richard, of Lentwardyne, husbandman 1
5468926 2495634 2495634 defendant Vicaries William husbandman 851201 851201 Vicaries, William, of Leomynstr, husbandman 2
5468927 2495634 2495634 defendant Upton Richard   586005 586005 Upton, Richard, of Upton, husbandman, son & heir of Brian Upton 3

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