home / cp40x

names

7 rows where case_id = 1907058

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3639127 1907058 1907058 plaintiff Walsted Thomas, senior     Walsted, Thomas, senior 0
3639128 1907058 1907058 defendant West Thomas knight, Lord la Warre   West, Thomas, knight, Lord la Warre 0
3639129 1907058 1907058 defendant Williams John yeoman 593273 593273 Williams, John, of Totton, Hants, yeoman 1
3639130 1907058 1907058 defendant Howe Richard yeoman 592286 592286 Howe, Richard, of Offyngton, Sussex, yeoman 2
3639131 1907058 1907058 defendant Apoole John yeoman 599972 599972 Apoole, John, of Offyngton, yeoman 3
3639132 1907058 1907058 defendant Sydford John yeoman 599973 599973 Sydford, John, of Nurselyng, Hants, yeoman 4
3639133 1907058 1907058 defendant Terry John husbandman 599971 599971 Terry, John, of Totton, husbandman 5

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 18.447ms