home / cp40x

names

6 rows where case_id = 2016033

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3975613 2016033 2016033 plaintiff Hurrell Richard yeoman 665121 665121 Hurrell, Richard, of Wattlington, Norf, yeoman 0
3975614 2016033 2016033 defendant Brewster Thomas gent 652629 652629 Brewster, Thomas, of Castle Henyngham, Essex, gent 0
3975615 2016033 2016033 defendant Harvy William yeoman 665122 665122 Harvy, William, of Mapelsted, Essex, yeoman 1
3975616 2016033 2016033 defendant Harryes Nicholas husbandman 589127 589127 Harryes, Nicholas, of Walton, husbandman 2
3975617 2016033 2016033 defendant Clerke John clothier 651866 651866 Clerke, John, of Peldon, Essex, clothier 3
3975618 2016033 2016033 defendant Beston Edmund yeoman 591427 591427 Beston, Edmund, of Esterford, Essex, yeoman 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 13.113ms