home / cp40x

names

5 rows where case_id = 2101578

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4217388 2101578 2101578 plaintiff Greaves John, junior     Greaves, John, junior 0
4217389 2101578 2101578 defendant Jackson Roger husbandman 588821 588821 Jackson, Roger, of Buxton, husbandman 0
4217390 2101578 2101578 defendant Outfeld George husbandman 588821 588821 Outfeld, George, of Buxton, husbandman 1
4217391 2101578 2101578 defendant Downes Thomas (legal representative) 588821 588821 Downes, Thomas, of Buxton, husbandman, administratrix of 2
4217392 2101578 2101578 defendant Downes Elizabeth widow 588821 588821 Downes, Elizabeth, of Buxton, widow 3

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