home / cp40x

names

7 rows where case_id = 1872912

✎ 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
3616877 1872912 1872912 plaintiff Estcote Robert     Estcote, Robert 0
3616878 1872912 1872912 plaintiff Melhuyssh Joan widow   Melhuyssh, Joan, widow 1
3616879 1872912 1872912 defendant Everard Thomas husbandman 586349 586349 Everard, Thomas, of Bradford, husbandman 0
3616880 1872912 1872912 defendant Reymour Robert husbandman 594623 594623 Reymour, Robert, of Lullokkesburgh Everard, husbandman 1
3616881 1872912 1872912 defendant Reymour John husbandman 594623 594623 Reymour, John, of Lullokkesburgh Everard, husbandman 2
3616882 1872912 1872912 defendant Darche William husbandman 594623 594623 Darche, William, of Lullokkesburgh Everard, husbandman 3
3616883 1872912 1872912 defendant Lauraunce William husbandman 589980 589980 Lauraunce, William, of Carampton, 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 10.467ms