home / cp40x

names

6 rows where case_id = 2341647

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4948923 2341647 2341647 plaintiff Meryot William     Meryot, William 0
4948924 2341647 2341647 defendant Wyllyes John husbandman 600096 600096 Wyllyes, John, of Brodechalke, husbandman 0
4948925 2341647 2341647 defendant Garlyke John yeoman 783149 783149 Garlyke, John, of Bishops Milford, yeoman 1
4948926 2341647 2341647 defendant Neuton John tailor 586859 586859 Neuton, John, of Salisbury, tailor 2
4948927 2341647 2341647 defendant Salter Henry husbandman 826148 826148 Salter, Henry, of Falleston, Bysshopeston, husbandman 3
4948928 2341647 2341647 defendant Wilmot Agnes   586859 586859 Wilmot, Agnes, of Salisbury, servant 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 11.792ms