home / cp40x

names

7 rows where case_id = 2048119

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4065969 2048119 2048119 plaintiff Higges Thomas   605476 605476 Higges, Thomas, of Halford, attorney of the bench 0
4065970 2048119 2048119 defendant Powell John gent 654772 654772 Powell, John, of Knighton, Radnor, gent 0
4065971 2048119 2048119 defendant James Rice gent 665575 665575 James, Rice, of Llanbister, Radnor, gent 1
4065972 2048119 2048119 defendant James Griffin clerk 659724 659724 James, Griffin, of Llanbyster, clerk 2
4065973 2048119 2048119 defendant Trylo William yeoman 653970 653970 Trylo, William, of Llanbister, yeoman 3
4065974 2048119 2048119 defendant Reynoldes David yeoman 641175 641175 Reynoldes, David, of Knyghton, yeoman 4
4065975 2048119 2048119 defendant ap Owen Jevan David yeoman 662220 662220 ap Owen, Jevan David, of Knighton, yeoman 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 5.871ms