home / cp40x

names

9 rows where case_id = 2050526

✎ 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
4072665 2050526 2050526 plaintiff Parry John gent   Parry, John, gent 0
4072666 2050526 2050526 defendant Meredyth David Lloyd esq 687765 687765 Meredyth, David Lloyd, of Garth Vagy, Radnor, esq 0
4072667 2050526 2050526 defendant Pryce Hugh gent 667744 667744 Pryce, Hugh, of Nantmell, Radnor, gent 1
4072668 2050526 2050526 defendant ap Ryce Thomas yeoman 654772 654772 ap Ryce, Thomas, of Knighton, Radnor, yeoman 2
4072669 2050526 2050526 defendant ap Ryce Lewis yeoman 662220 662220 ap Ryce, Lewis, of Knighton, yeoman 3
4072670 2050526 2050526 defendant Lewys James gent 613452 613452 Lewys, James, of Old Radnor, gent 4
4072671 2050526 2050526 defendant Jenk William gent 687766 687766 Jenk, William, of Bryngwyn, Radnor, gent 5
4072672 2050526 2050526 defendant ap David Thomas gent 687767 687767 ap David, Thomas, of Llangmargh, Radnor, gent 6
4072673 2050526 2050526 defendant Don William, junior gent 667745 667745 Don, William, junior, of Norton, Radnor, gent 7

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 14.428ms