home / cp40x

names

9 rows where case_id = 2052702

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4078765 2052702 2052702 plaintiff Thomas Richard     Thomas, Richard 0
4078766 2052702 2052702 defendant Edward Maurice tanner 641901 641901 Edward, Maurice, of Uske, tanner 0
4078767 2052702 2052702 defendant Moryce Thomas yeoman 641901 641901 Moryce, Thomas, of Uske, yeoman 1
4078768 2052702 2052702 defendant David Philip tanner 641901 641901 David, Philip, of Uske, tanner 2
4078769 2052702 2052702 defendant Howell Morgan tanner 641901 641901 Howell, Morgan, of Uske, tanner 3
4078770 2052702 2052702 defendant David Giles laborer 641901 641901 David, Giles, of Uske, laborer 4
4078771 2052702 2052702 defendant Alice of Uske widow   Alice, of Uske, widow 5
4078772 2052702 2052702 defendant ap Thomas Thomas yeoman 659747 659747 ap Thomas, Thomas, of Llanbadock, yeoman 6
4078773 2052702 2052702 defendant Jeyn Morgan yeoman 659747 659747 Jeyn, Morgan, of Llanbadock, yeoman 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 18.236ms