home / cp40x

names

6 rows where case_id = 2392288

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5120005 2392288 2392288 plaintiff Speare John     Speare, John 0
5120006 2392288 2392288 defendant Crymell William husbandman 592268 592268 Crymell, William, of Brodewodekelly, husbandman 0
5120007 2392288 2392288 defendant Crymell Walter laborer 592268 592268 Crymell, Walter, of Brodewodekelly, laborer 1
5120008 2392288 2392288 defendant Roke John tailor 592268 592268 Roke, John, of Brodewodekelly, tailor 2
5120009 2392288 2392288 defendant Webber John laborer 592268 592268 Webber, John, of Brodewodekelly, laborer 3
5120010 2392288 2392288 defendant Hokker John laborer 611979 611979 Hokker, John, of South Tanton, laborer 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 15.694ms