home / cp40x

names

5 rows where case_id = 2140286

✎ 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
4329851 2140286 2140286 plaintiff Lewis Hugh gent   Lewis, Hugh, gent 0
4329852 2140286 2140286 defendant Morrys Thomas gent 665802 665802 Morrys, Thomas, of Presteigne, or of Acjell, Radnor, gent 0
4329853 2140286 2140286 defendant Haryes Thomas yeoman 613452 613452 Haryes, Thomas, of Old Radnor, yeoman 1
4329854 2140286 2140286 defendant ap Rosser John yeoman 667735 667735 ap Rosser, John, of Glascombe, Radnor, yeoman 2
4329855 2140286 2140286 defendant Estoppe Richard yeoman 667745 667745 Estoppe, Richard, of Norton, Radnor, yeoman 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.039ms