home / cp40x

names

6 rows where case_id = 2266053

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4702054 2266053 2266053 plaintiff Grene John clerk   Grene, John, clerk 0
4702055 2266053 2266053 defendant Glover John jun, of South Pederton, glover   Glover, John, jun, of South Pederton, glover 0
4702056 2266053 2266053 defendant Mariet William husbandman 596230 596230 Mariet, William, of South Pederton, husbandman 1
4702057 2266053 2266053 defendant Kyngman William weaver 596230 596230 Kyngman, William, of South Pederton, weaver 2
4702058 2266053 2266053 defendant Huwet Edward butcher 596230 596230 Huwet, Edward, of South Pederton, butcher 3
4702059 2266053 2266053 defendant Saunder Henry tailor 589990 589990 Saunder, Henry, of Shepton Beauchamp, tailor 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.542ms