home / cp40x

names

7 rows where case_id = 1939407

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3742132 1939407 1939407 plaintiff Thornes Robert     Thornes, Robert 0
3742133 1939407 1939407 defendant Edward William capper 586697 586697 Edward, William, of Shrewsbury, capper 0
3742134 1939407 1939407 defendant Gamull Thomas husbandman 617808 617808 Gamull, Thomas, of Prese, husbandman 1
3742135 1939407 1939407 defendant Gamull Henry husbandman 617808 617808 Gamull, Henry, of Prese, husbandman 2
3742136 1939407 1939407 defendant Smyth John husbandman 617808 617808 Smyth, John, of Prese, husbandman 3
3742137 1939407 1939407 defendant Chatwall John husbandman 617808 617808 Chatwall, John, of Prese, husbandman 4
3742138 1939407 1939407 defendant Pate Edmund husbandman 617808 617808 Pate, Edmund, of Prese, husbandman 5

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