home / cp40x

names

8 rows where case_id = 1953621

✎ 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
3786655 1953621 1953621 plaintiff Pratt William     Pratt, William 0
3786656 1953621 1953621 defendant Guy Robert glover 613727 613727 Guy, Robert, of Denver, glover 0
3786657 1953621 1953621 defendant Orme William laborer 613727 613727 Orme, William, of Denver, laborer 1
3786658 1953621 1953621 defendant Walman Thomas laborer 602796 602796 Walman, Thomas, of Dunham, laborer 2
3786659 1953621 1953621 defendant Repplenham William tailor 613727 613727 Repplenham, William, of Denver, tailor 3
3786660 1953621 1953621 defendant Colson Richard laborer 613727 613727 Colson, Richard, of Denver, laborer 4
3786661 1953621 1953621 defendant Richardson John laborer 613727 613727 Richardson, John, of Denver, laborer 5
3786662 1953621 1953621 defendant Taillour Henry laborer 613727 613727 Taillour, Henry, of Denver, laborer 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 16.444ms