home / cp40x

names

6 rows where case_id = 2469515

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5380652 2469515 2469515 plaintiff Carpenter William     Carpenter, William 0
5380653 2469515 2469515 defendant Ramrygge Andrew husbandman 624196 624196 Ramrygge, Andrew, of Whetehamsted, husbandman 0
5380654 2469515 2469515 defendant Aldenham Thomas of loder or carrier   Aldenham, Thomas of, loder or carrier 1
5380655 2469515 2469515 defendant Spenser John husbandman 880600 880600 Spenser, John, of the Grove, Bucks, husbandman 2
5380656 2469515 2469515 defendant Davy William husbandman 880601 880601 Davy, William, of Dunstabyll Houghton, husbandman 3
5380657 2469515 2469515 defendant Dolt William husbandman 880602 880602 Dolt, William, of Hempstead, husbandman 4

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