home / cp40x

names

10 rows where case_id = 2221509

✎ 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
4567823 2221509 2221509 plaintiff Totesham Thomas     Totesham, Thomas 0
4567824 2221509 2221509 defendant Shelford John   587136 587136 Shelford, John, of Derby 0
4567825 2221509 2221509 defendant Pole Ralph   587136 587136 Pole, Ralph, of Derby 1
4567826 2221509 2221509 defendant Tuttebury Geoffrey     Tuttebury, Geoffrey 2
4567827 2221509 2221509 defendant Hervy William   638907 638907 Hervy, William, of Shene 3
4567828 2221509 2221509 defendant atte Lee William esq   atte Lee, William, esq 4
4567829 2221509 2221509 defendant Pretewelle John esq   Pretewelle, John, esq 5
4567830 2221509 2221509 defendant Burgh John jun   Burgh, John, jun 6
4567831 2221509 2221509 defendant Berewyk John   589633 589633 Berewyk, John, of Lodyngton 7
4567832 2221509 2221509 defendant Baker Richard   589133 589133 Baker, Richard, of Marton 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 15.149ms