home / cp40x

names

7 rows where case_id = 2380468

✎ 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
5079898 2380468 2380468 plaintiff Chaundeler Henry     Chaundeler, Henry 0
5079899 2380468 2380468 defendant Jafret Thomas   795409 795409 Jafret, Thomas, of Hiegham Ferrers, oil maker 0
5079900 2380468 2380468 defendant Mayons John   795409 795409 Mayons, John, of Hiegham Ferrers, mason 1
5079901 2380468 2380468 defendant Wakefeld William husbandman 592895 592895 Wakefeld, William, of Russhedon, husbandman 2
5079902 2380468 2380468 defendant Styward Wlliam butcher 816604 816604 Styward, Wlliam, of Harewold, Beds, butcher 3
5079903 2380468 2380468 defendant Roger John butcher 843987 843987 Roger, John, of Seharnbroke, Beds, butcher 4
5079904 2380468 2380468 defendant Baker William husbandman 795409 795409 Baker, William, of Hiegham Ferrers, 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.471ms