home / cp40x

names

6 rows where case_id = 1945412

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3760890 1945412 1945412 plaintiff Doyle Thomas esq 624881 624881 Doyle, Thomas, of Hamyldon, Bucks, esq 0
3760891 1945412 1945412 defendant Tompson John butcher 624882 624882 Tompson, John, of Henley o Thames, butcher 0
3760892 1945412 1945412 defendant Downam Robert husbandman 624883 624883 Downam, Robert, of Remnam, Berks, husbandman 1
3760893 1945412 1945412 defendant Chappell John   587336 587336 Chappell, John, of Henley on Thames, wool winder 2
3760894 1945412 1945412 defendant Forster George   624885 624885 Forster, George, of Aldermerston, Berks, knight 3
3760895 1945412 1945412 defendant Rose William husbandman 624886 624886 Rose, William, of Byrtwest Solam, husbandman 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 22.749ms