home / cp40x

names

5 rows where case_id = 2315061

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4861788 2315061 2315061 plaintiff Curteys Thomas     Curteys, Thomas 0
4861789 2315061 2315061 defendant Turry Ralph yeoman 587760 587760 Turry, Ralph, of Eston Bavent, yeoman 0
4861790 2315061 2315061 defendant Tailour Clement tailor 611193 611193 Tailour, Clement, of Donewich, tailor 1
4861791 2315061 2315061 defendant Parkyr William, junior yeoman 603786 603786 Parkyr, William, junior, of Dersham, yeoman 2
4861792 2315061 2315061 defendant Palle Agnes widow 770565 770565 Palle, Agnes, of Chestan, widow 3

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