home / cp40x

names

8 rows where case_id = 1997929

✎ 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
3922782 1997929 1997929 plaintiff Sandell Richard gent   Sandell, Richard, gent 0
3922783 1997929 1997929 defendant Trenche Edmund yeoman 607684 607684 Trenche, Edmund, of Gressenhale, yeoman 0
3922784 1997929 1997929 defendant Framyngham Edmund yeoman 626228 626228 Framyngham, Edmund, of Cokthorp, yeoman 1
3922785 1997929 1997929 defendant Buttrall John yeoman 587167 587167 Buttrall, John, of Parva Walsyngham, yeoman 2
3922786 1997929 1997929 defendant Cremer Henry butcher 652281 652281 Cremer, Henry, of Ynglethorp, butcher 3
3922787 1997929 1997929 defendant Clithero Thomas husbandman 651413 651413 Clithero, Thomas, of Gayton Thorp, husbandman 4
3922788 1997929 1997929 defendant Spavy or Spany Thomas husbandman 596199 596199 Spavy or Spany, Thomas, of Est Bylney, husbandman 5
3922789 1997929 1997929 defendant Humfrey William clerk 640304 640304 Humfrey, William, of Brunton, clerk 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 19.07ms