home / cp40x

names

10 rows where case_id = 2407056

✎ 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
5170342 2407056 2407056 plaintiff Hillerysdon Andrew     Hillerysdon, Andrew 0
5170343 2407056 2407056 defendant Olde John   594624 594624 Olde, John, of Payhembury, holy water clerk 0
5170344 2407056 2407056 defendant Scorche John husbandman 601726 601726 Scorche, John, of Ottery St Mary, husbandman 1
5170345 2407056 2407056 defendant Robyn Robert tailor 601726 601726 Robyn, Robert, of Ottery St Mary, tailor 2
5170346 2407056 2407056 defendant Wrey William clerk 594624 594624 together with Wrey, William, of Payhembury, clerk 3
5170347 2407056 2407056 defendant Dode William smith 594624 594624 Dode, William, of Payhembury, smith 4
5170348 2407056 2407056 defendant Cole William husbandman 594624 594624 Cole, William, of Payhembury, husbandman 5
5170349 2407056 2407056 defendant Salter William husbandman 661065 661065 Salter, William, of Fyneton, husbandman 6
5170350 2407056 2407056 defendant Salter Herny   661065 661065 Salter, Herny, of Fyneton, groom 7
5170351 2407056 2407056 defendant Salter John weaver 601726 601726 Salter, John, of Ottery St Mary, weaver 8

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