home / cp40x

names

7 rows where case_id = 1904897

✎ 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
3632227 1904897 1904897 plaintiff Haydok Thomas esq   Haydok, Thomas, esq 0
3632228 1904897 1904897 defendant Palmer John yeoman 598378 598378 Palmer, John, of Crondale, yeoman 0
3632229 1904897 1904897 defendant Baker Richard yeoman 598378 598378 Baker, Richard, of Crondale, yeoman 1
3632230 1904897 1904897 defendant at Hole John, senior husbandman 594095 594095 at Hole, John, senior, of Odyham, husbandman 2
3632231 1904897 1904897 defendant at Hole John, junior husbandman 594095 594095 at Hole, John, junior, of Odyham, husbandman 3
3632232 1904897 1904897 defendant Broun John yeoman 598378 598378 Broun, John, of Crondale, yeoman 4
3632233 1904897 1904897 defendant Waltham Thomas yeoman 598378 598378 Waltham, Thomas, of Crondale, yeoman 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 7.997ms