home / cp40x

names

6 rows where case_id = 2321836

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4883778 2321836 2321836 plaintiff Rewe John, junior     Rewe, John, junior 0
4883779 2321836 2321836 defendant Thomas Hugh clerk 585970 585970 Thomas, Hugh, of Oxford, clerk 0
4883780 2321836 2321836 defendant Weston Walter clerk 585970 585970 Weston, Walter, of Oxford, clerk 1
4883781 2321836 2321836 defendant Braybrok John yeoman 586511 586511 together with Braybrok, John, of Neubury, yeoman 2
4883782 2321836 2321836 defendant Knyght Richard yeoman 588305 588305 Knyght, Richard, of Welles, Soms, yeoman 3
4883783 2321836 2321836 defendant Halle Thomas yeoman 586748 586748 Halle, Thomas, of Welles, yeoman 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 17.128ms