home / cp40x

names

6 rows where case_id = 1905002

✎ 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
3632560 1905002 1905002 plaintiff Holand Owen     Holand, Owen 0
3632561 1905002 1905002 defendant Lloyd alias ap Morys William gent 592177 592177 Lloyd alias ap Morys, William, of Grenewyche, Kent, gent 0
3632562 1905002 1905002 defendant Aphowell Richard gent 598447 598447 Aphowell, Richard, of Flynt, North Wales, gent 1
3632563 1905002 1905002 defendant Barker James mealman 598448 598448 Barker, James, of Stannewell, Middx, mealman 2
3632564 1905002 1905002 defendant Nuburgh Lewis clerk 585869 585869 Nuburgh, Lewis, of London, clerk 3
3632565 1905002 1905002 defendant Osmonde Roger husbandman 598449 598449 Osmonde, Roger, of Craymford, Middx, 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 14.268ms