home / cp40x

names

7 rows where case_id = 2048467

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4066920 2048467 2048467 plaintiff Hughes David     Hughes, David 0
4066921 2048467 2048467 defendant Watkyns William gent 686460 686460 Watkyns, William, of Bylle, Brecon, gent 0
4066922 2048467 2048467 defendant David Watkin yeoman 686461 686461 David, Watkin, of com. Radnor, yeoman 1
4066923 2048467 2048467 defendant Vaughan Roger esq 662490 662490 Vaughan, Roger, of Clyrowe, Radnor, esq 2
4066924 2048467 2048467 defendant Vaughan William gent 647956 647956 Vaughan, William, of Wynforton, gent 3
4066925 2048467 2048467 defendant Nycoll Thomas gent 588373 588373 Nycoll, Thomas, of Rosse, gent 4
4066926 2048467 2048467 defendant Vaughan Walter gent 675520 675520 Vaughan, Walter, of Hergest, gent 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 11.628ms