home / cp40x

names

6 rows where case_id = 2061910

✎ 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
4104553 2061910 2061910 plaintiff Morehouse William attorney of the bench   Morehouse, William, attorney of the bench 0
4104554 2061910 2061910 defendant Hargraves John yeoman 694453 694453 Hargraves, John, of Carlton juxta Skipton, yeoman 0
4104555 2061910 2061910 defendant Pulleyn Henry clerk 694454 694454 Pulleyn, Henry, of Blubberhouse, clerk 1
4104556 2061910 2061910 defendant Nonnes William yeoman 586908 586908 Nonnes, William, of Metheley, yeoman 2
4104557 2061910 2061910 defendant Straker Thomas cordwainer 649855 649855 Straker, Thomas, of Kyrkby Overblowes, cordwainer 3
4104558 2061910 2061910 defendant Thompson Edmund glasier 585932 585932 Thompson, Edmund, of Kingston on Hull, glasier 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 14.035ms