home / cp40x

names

8 rows where case_id = 2497020

✎ 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
5473444 2497020 2497020 plaintiff Ocle William     Ocle, William 0
5473445 2497020 2497020 defendant Kelsey Robert yeoman 650586 650586 Kelsey, Robert, of Waltham Cross, Herts, yeoman 0
5473446 2497020 2497020 defendant Cawethorn John yeoman 594143 594143 Cawethorn, John, of Waltham Cross, yeoman 1
5473447 2497020 2497020 defendant Harryson Robert smith 650586 650586 Harryson, Robert, of Waltham Cross, Herts, smith 2
5473448 2497020 2497020 defendant Defford Richard tailor 594143 594143 Defford, Richard, of Waltham Cross, tailor 3
5473449 2497020 2497020 defendant Devaunt John yeoman 589715 589715 Devaunt, John, of Chesthunt, Herts, yeoman 4
5473450 2497020 2497020 defendant Bothe Thomas butcher 589715 589715 Bothe, Thomas, of Chesthunt, Herts, butcher 5
5473451 2497020 2497020 defendant Multon William yeoman 594143 594143 Multon, William, of Waltham Cross, yeoman 6

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.226ms