home / cp40x

names

6 rows where place_id = 665802

✎ 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
3978467 2017050 2017050 plaintiff Meredith Nicholas gent 665802 665802 Meredith, Nicholas, of Presteigne, gent 0
3987634 2020327 2020327 defendant Marshe Richard gent 665802 665802 Marshe, Richard, of Presteigne, gent 1
4065581 2047980 2047980 defendant Jenyns John mercer 665802 665802 Jenyns, John, of Presteigne, mercer 1
4316833 2136006 2136006 defendant Morys Thomas gent 665802 665802 Morys, Thomas, of Presteigne, or of Ackell, Radnor, gent 0
4329852 2140286 2140286 defendant Morrys Thomas gent 665802 665802 Morrys, Thomas, of Presteigne, or of Acjell, Radnor, gent 0
4409238 2167689 2167689 defendant Powell Brian gent 665802 665802 Powell, Brian, of Presteigne, Radnor gent, son of John Powell, of Knighton, Radnor, gent 0

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