home / cp40x

names

10 rows where case_id = 2263259

✎ 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
4692791 2263259 2263259 plaintiff Aylesbury John     Aylesbury, John 0
4692792 2263259 2263259 plaintiff Aylesbury Agnes     Agnes, his wife 1
4692793 2263259 2263259 defendant Bysshop John, sen husbandman 742999 742999 Bysshop, John, sen, of Milton Keynes, husbandman 0
4692794 2263259 2263259 defendant Bysshop Isabel     Isabel, his wife 1
4692795 2263259 2263259 defendant Dalowe Alan husbandman 589604 589604 Dalowe, Alan, of Broughton, husbandman 2
4692796 2263259 2263259 defendant Shirwode Humphrey laborer 589604 589604 Shirwode, Humphrey, of Broughton, laborer 3
4692797 2263259 2263259 defendant Clerk John laborer 589604 589604 Clerk, John, of Broughton, laborer 4
4692798 2263259 2263259 defendant Parke William laborer 589604 589604 Parke, William, of Broughton, laborer 5
4692799 2263259 2263259 defendant Troty William laborer 589604 589604 Troty, William, of Broughton, laborer 6
4692800 2263259 2263259 defendant Sydekyn John laborer 589604 589604 Sydekyn, John, of Broughton, laborer 7

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 14.891ms