home / cp40x

names

6 rows where case_id = 2277781

✎ 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
4740642 2277781 2277781 plaintiff Bateman Ralph     Bateman, Ralph, on his own account 0
4740643 2277781 2277781 defendant Saumfayle Benedict maltman 630002 630002 Saumfayle, Benedict, of Harleton, maltman 0
4740644 2277781 2277781 defendant atte Hoo Richard ploughman 630002 630002 atte Hoo, Richard, of Harleton, ploughman 1
4740645 2277781 2277781 defendant Trot William ploughman 630002 630002 Trot, William, of Harleton, ploughman 2
4740646 2277781 2277781 defendant Sekke John maltman 630002 630002 Sekke, John, of Harleton, maltman 3
4740647 2277781 2277781 defendant Tyler John Beds, ploughman 908380 908380 Tyler John, of Comphull, Beds, ploughman 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 16.509ms