home / cp40x

names

8 rows where case_id = 2478257

✎ 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
5411038 2478257 2478257 plaintiff Chapell William     Chapell, William 0
5411039 2478257 2478257 defendant Coly Roger butcher 588533 588533 Coly, Roger, of Godstone, butcher 0
5411040 2478257 2478257 defendant Byrde John, sen collier 586464 586464 Byrde, John, sen, of Croydon, collier 1
5411041 2478257 2478257 defendant Byrde John jun, of Croydon, collier   Byrde, John, jun, of Croydon, collier 2
5411042 2478257 2478257 defendant Harpham John collier 586464 586464 Harpham, John, of Croydon, collier 3
5411043 2478257 2478257 defendant Derby John husbandman 586463 586463 Derby, John, of Bedyngton, husbandman 4
5411044 2478257 2478257 defendant atte Yerd John butcher 605091 605091 atte Yerd, John, of Oxsted, butcher 5
5411045 2478257 2478257 defendant Deraunt John butcher 884793 884793 Deraunt, John, of Lemynysfeld or Limpsfield, butcher 6

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.261ms