home / cp40x

names

9 rows where case_id = 2441494

✎ 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
5287963 2441494 2441494 plaintiff Langford Edward esq   Langford, Edward, esq 0
5287964 2441494 2441494 defendant Oldman Gilbert husbandman 600600 600600 Oldman, Gilbert, of Stretley, husbandman 0
5287965 2441494 2441494 defendant Long John husbandman 868952 868952 Long, John, of Ashamsted, husbandman 1
5287966 2441494 2441494 defendant Oldman Thomas husbandman 868952 868952 Oldman, Thomas, of Ashamsted, husbandman 2
5287967 2441494 2441494 defendant Estlove William weaver 606418 606418 Estlove, William, of Caversham, Oxon, weaver 3
5287968 2441494 2441494 defendant Atlee William weaver 587891 587891 Atlee, William, of Redyng, weaver 4
5287969 2441494 2441494 defendant Hertagold Thomas butcher 868953 868953 Hertagold, Thomas, of Uston Robert, butcher 5
5287970 2441494 2441494 defendant Serne or Serve Nicholas butcher 587891 587891 Serne or Serve, Nicholas, of Redyng, butcher 6
5287971 2441494 2441494 defendant Serell Simon butcher 587891 587891 Serell, Simon, of Redyng, butcher 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 15.566ms