home / cp40x

names

8 rows where case_id = 1871325

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3611708 1871325 1871325 plaintiff Pyttes John     Pyttes, John 0
3611709 1871325 1871325 plaintiff Bree William     Bree, William 1
3611710 1871325 1871325 defendant Stenelake John husbandman 592267 592267 Stenelake, John, of Blaketoryton, husbandman 0
3611711 1871325 1871325 defendant Stenelake William husbandman 592267 592267 Stenelake, William, of Blaketoryton, husbandman 1
3611712 1871325 1871325 defendant Vell John husbandman 592267 592267 Vell, John, of Blaketoryton, husbandman 2
3611713 1871325 1871325 defendant Bukker William husbandman 593412 593412 Bukker, William, of Brodewodkelly, husbandman 3
3611714 1871325 1871325 defendant Harrys John husbandman 587384 587384 Harrys, John, of Lyston, husbandman 4
3611715 1871325 1871325 defendant Frere Thomas husbandman 587384 587384 Frere, Thomas, of Lyston, husbandman 5

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.673ms