home / cp40x

names

6 rows where case_id = 1962076

✎ 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
3813317 1962076 1962076 plaintiff Drury William     Drury, William 0
3813318 1962076 1962076 defendant Castyng William slater 600388 600388 Castyng, William, of Downham, slater 0
3813319 1962076 1962076 defendant Wolman John slater 600388 600388 Wolman, John, of Downham, slater 1
3813320 1962076 1962076 defendant Prestman William husbandman 633537 633537 Prestman, William, of Crempilstam, husbandman 2
3813321 1962076 1962076 defendant Nottyng John roper 600388 600388 Nottyng, John, of Downham, roper 3
3813322 1962076 1962076 defendant Pottrell Thomas husbandman 600388 600388 Pottrell, Thomas, of Downham, 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 16.721ms