home / cp40x

names

6 rows where case_id = 2530071

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5584011 2530071 2530071 plaintiff Grene Nicholas     Grene, Nicholas 0
5584012 2530071 2530071 defendant Good William butcher 586228 586228 Good, William, of Watlyngton, butcher 0
5584013 2530071 2530071 defendant Lawnce Thomas butcher 590698 590698 Lawnce, Thomas, of Thame, butcher 1
5584014 2530071 2530071 defendant Creft or Crest Thomas   590698 590698 Creft or Crest, Thomas, of Thame 2
5584015 2530071 2530071 defendant Hyll Thomas butcher 590698 590698 Hyll, Thomas, of Thame, butcher 3
5584016 2530071 2530071 defendant Mawncell John butcher 606437 606437 Mawncell, John, of Whatley, butcher 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 15.991ms