home / cp40x

names

6 rows where case_id = 1864036

✎ 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
3588451 1864036 1864036 plaintiff Berell William grocer 585869 585869 Berell, William, of London, grocer 0
3588452 1864036 1864036 defendant Alye Richard tailor 586333 586333 Alye, Richard, of Magna Badowe, Essex, tailor 0
3588453 1864036 1864036 defendant Hoode John butcher 586334 586334 Hoode, John, of Danbery, Essex, butcher 1
3588454 1864036 1864036 defendant Copley Christopher glover 586335 586335 Copley, Christopher, of Magna Badowe, glover 2
3588455 1864036 1864036 defendant Sterne John yeoman 586336 586336 Sterne, John, of Est Henrith, Berks, yeoman 3
3588456 1864036 1864036 defendant pers William yeoman 586337 586337 pers, William, of Aldermester, Berks, 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 15.419ms