home / cp40x

names

8 rows where case_id = 2438507

✎ 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
5277537 2438507 2438507 plaintiff Arundell John knight   Arundell, John, knight 0
5277538 2438507 2438507 defendant Oryn John husbandman 586416 586416 Oryn, John, of Padestowe, husbandman 0
5277539 2438507 2438507 defendant Harry Richard weaver 586416 586416 Harry, Richard, of Padestowe, weaver 1
5277540 2438507 2438507 defendant Dey Arthur husbandman 867755 867755 Dey, Arthur, of Gryllys justa Padestowe, husbandman 2
5277541 2438507 2438507 defendant Arthur James laborer 867755 867755 Arthur, James, of Gryllys justa Padestowe, laborer 3
5277542 2438507 2438507 defendant Tanner Richard weaver 587114 587114 Tanner, Richard, of Bodmyn, weaver 4
5277543 2438507 2438507 defendant Trelyner Roger weaver 586416 586416 Trelyner, Roger, of Padestowe, weaver 5
5277544 2438507 2438507 defendant Mana or Mava Henry smith 586416 586416 Mana or Mava, Henry, of Padestowe, smith 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 10.747ms