home / cp40x

names

8 rows where case_id = 1869900

✎ 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
3607142 1869900 1869900 plaintiff Pyttes John, junior     Pyttes, John, junior 0
3607143 1869900 1869900 plaintiff Bree William     Bree, William 1
3607144 1869900 1869900 defendant Stenelake John husbandman 592267 592267 Stenelake, John, of Blaketoryton, husbandman 0
3607145 1869900 1869900 defendant Stenelake William husbandman 592267 592267 Stenelake, William, of Blaketoryton, husbandman 1
3607146 1869900 1869900 defendant Vell John husbandman 592267 592267 Vell, John, of Blaketoryton, husbandman 2
3607147 1869900 1869900 defendant Bugger William husbandman 592268 592268 Bugger, William, of Brodewodekelly, husbandman 3
3607148 1869900 1869900 defendant Harrys John husbandman 587384 587384 Harrys, John, of Lyston, husbandman 4
3607149 1869900 1869900 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 14.891ms