home / cp40x

names

8 rows where case_id = 2295824

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4798876 2295824 2295824 plaintiff Tanner William (legal representative)   Tanner, William, executors of 0
4798877 2295824 2295824 plaintiff Hattere John     (Hattere, John 1
4798878 2295824 2295824 plaintiff Tanner Robert son of William   Tanner, Robert, son of William 2
4798879 2295824 2295824 plaintiff Chambre Robert     Chambre, Robert 3
4798880 2295824 2295824 defendant Dyer John husbandman 595915 595915 Dyer, John, of Hungerford, husbandman 0
4798881 2295824 2295824 defendant Ferrour or Smith William husbandman 595915 595915 Ferrour or Smith, William, of Hungerford, husbandman 1
4798882 2295824 2295824 defendant Mothe Agnes widow 588038 588038 Mothe, Agnes, of Newebury, widow 2
4798883 2295824 2295824 defendant Messenger William baker 803748 803748 Messenger, William, of Chepyng Lambourne, baker 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 17.016ms