home / cp40x

names

7 rows where case_id = 2009500

✎ 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
3956958 2009500 2009500 plaintiff Parry John     Parry, John 0
3956959 2009500 2009500 defendant Hunk Henry gent 592927 592927 Hunk, Henry, of Brome, gent 0
3956960 2009500 2009500 defendant Jevan John Philip yeoman 660545 660545 Jevan, John Philip, of Arcope, yeoman 1
3956961 2009500 2009500 defendant Lluwellan Thomas husbandman 660546 660546 Lluwellan, Thomas, of Cledocke, husbandman 2
3956962 2009500 2009500 defendant Maholon John yeoman 586212 586212 Maholon, John, of Huntyngton, yeoman 3
3956963 2009500 2009500 defendant Hames or Haines John yeoman 594993 594993 Hames or Haines, John, of Whitchurche, yeoman 4
3956964 2009500 2009500 defendant William Richard yeoman 660547 660547 William, Richard, of Coytre, yeoman 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 18.203ms