home / cp40x

names

7 rows where case_id = 2443947

✎ 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
5296432 2443947 2443947 plaintiff Whytyngton William esq   Whytyngton, William, esq, executors of 0
5296433 2443947 2443947 plaintiff Whytyngton Thomas     (Whytyngton, Thomas 1
5296434 2443947 2443947 plaintiff Whytyngton Elizabeth     Whytyngton, Elizabeth 2
5296435 2443947 2443947 defendant Brugge Thomas gent 596734 596734 Brugge, Thomas, of Dymmok, gent 0
5296436 2443947 2443947 defendant Hill John yeoman 660876 660876 Hill, John, of Bosbury, Herefs, yeoman 1
5296437 2443947 2443947 defendant Spylman William yeoman 596734 596734 Spylman, William, of Dymmok, yeoman 2
5296438 2443947 2443947 defendant Freman Richard husbandman 607486 607486 Freman, Richard, of Twynnyng, husbandman 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.151ms