home / cp40x

names

5 rows where place_id = 762117

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4484773 2195933 2195933 defendant Wyles John   762117 762117 Wyles, John, of Pounfreyt, Yorks 0
4484775 2195934 2195934 defendant Woles John   762117 762117 Woles, John, of Pounfreyt, Yorks 0
4530723 2209901 2209901 defendant Elys Ralph   762117 762117 Elys, Ralph, of Pounfreyt, Yorks 1
4670835 2256557 2256557 defendant Burneby John gent 762117 762117 Burneby, John, of Pounfreyt, Yorks, gent 3
5104085 2387617 2387617 defendant Roper Richard chapman 762117 762117 Roper, Richard, of Pounfreyt, Yorks, chapman 1

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 9.869ms