home / cp40x

names

6 rows where case_id = 2380732

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5080740 2380732 2380732 plaintiff Colyns Thomas     Colyns, Thomas 0
5080741 2380732 2380732 defendant Hobbys John husbandman 588135 588135 Hobbys, John, of Somerton, husbandman 0
5080742 2380732 2380732 defendant Alperton John butcher 593282 593282 Alperton, John, of Drayton, butcher 1
5080743 2380732 2380732 defendant Baker John   844067 844067 Baker, John, of Pybbesbury, Hiwissh, groom or laborer 2
5080744 2380732 2380732 defendant Colyns John tailor 592868 592868 Colyns, John, of Mertok, tailor 3
5080745 2380732 2380732 defendant Drewe William husbandman 588640 588640 Drewe, William, of Pytteney, husbandman 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 35.211ms