home / cp40x

names

7 rows where case_id = 2011998

✎ 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
3963946 2011998 2011998 plaintiff Andrewes Humphrey gent   Andrewes, Humphrey, gent 0
3963947 2011998 2011998 defendant Herford William gent 662141 662141 Herford, William, of Scylley, gent 0
3963948 2011998 2011998 defendant Greves Richard yeoman 662142 662142 Greves, Richard, of Mostley, yeoman 1
3963949 2011998 2011998 defendant Woodwall Thomas yeoman 649165 649165 Woodwall, Thomas, of Kyng Norton, yeoman 2
3963950 2011998 2011998 defendant Harper Thomas laborer 649165 649165 Harper, Thomas, of Kyng Norton, laborer 3
3963951 2011998 2011998 defendant Chamber Richard yeoman 662143 662143 Chamber, Richard, of Seylley, yeoman 4
3963952 2011998 2011998 defendant Mylner Thomas shoemaker 591737 591737 Mylner, Thomas, of Birmingham, shoemaker 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 16.404ms