home / cp40x

names

6 rows where case_id = 2042779

✎ 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
4050939 2042779 2042779 plaintiff Weston James gent 590430 590430 Weston, James, of Lichfeld, gent 0
4050940 2042779 2042779 defendant ap Howell Kenric ap Robert gent 672706 672706 ap Howell, Kenric ap Robert, of Marchwiell, Denbigh, gent 0
4050941 2042779 2042779 defendant Eaton Edward gent 682736 682736 Eaton, Edward, of Eaton, Denbigh, gent 1
4050942 2042779 2042779 defendant ap Howell David ap Robert gent 672707 672707 ap Howell, David ap Robert, of Marchwiell, gent 2
4050943 2042779 2042779 defendant Erlys Edward gent 682737 682737 Erlys, Edward, of Erlys, Denbigh, gent 3
4050944 2042779 2042779 defendant Gyttens Robert gent 682738 682738 Gyttens, Robert, of Wrixame, 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 16.084ms