home / cp40x

names

6 rows where case_id = 2385767

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5097758 2385767 2385767 plaintiff Tony John     Tony, John 0
5097759 2385767 2385767 defendant Horn Robert husbandman 768330 768330 Horn, Robert, of Farewey, husbandman 0
5097760 2385767 2385767 defendant Toker Richard tucker 586442 586442 Toker, Richard, of Honyton, tucker 1
5097761 2385767 2385767 defendant Toker John laborer 594439 594439 Toker, John, of Monketon, laborer 2
5097762 2385767 2385767 defendant Conderewe Thomas chaplain 846026 846026 Conderewe, Thomas, of Otery Mohun, chaplain 3
5097763 2385767 2385767 defendant C- William yeoman 586442 586442 C-, William, of Honyton, 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 14.923ms