home / cp40x

names

6 rows where case_id = 2042778

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4050933 2042778 2042778 plaintiff Weston James gent 590430 590430 Weston, James, of Lichfeld, gent 0
4050934 2042778 2042778 defendant ap Howell Kenric ap Robert gent 682735 682735 ap Howell, Kenric ap Robert, of Marchewell, Denbigh, gent 0
4050935 2042778 2042778 defendant Eaton Edward gent 682736 682736 Eaton, Edward, of Eaton, Denbigh, gent 1
4050936 2042778 2042778 defendant ap Howell David ap Robert gent 668356 668356 ap Howell, David ap Robert, of Marchewell, gent 2
4050937 2042778 2042778 defendant Erlys Edward gent 682737 682737 Erlys, Edward, of Erlys, Denbigh, gent 3
4050938 2042778 2042778 defendant Gyttyns Robert gent 677195 677195 Gyttyns, Robert, of Wrixam, Denbigh, gent 4

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