home / cp40x

names

8 rows where case_id = 2154853

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4371473 2154853 2154853 plaintiff Ley George     Ley, George 0
4371474 2154853 2154853 defendant Babington Francis esq 746323 746323 Babington, Francis, of Wiveley Hill, Derbs, esq 0
4371475 2154853 2154853 defendant Babington Francis of Wyveley Hill esq   Babington, Francis of Wyveley Hill, esq 1
4371476 2154853 2154853 defendant Allen John yeoman 741886 741886 Allen, John, of Lea, Derbs, yeoman 2
4371477 2154853 2154853 defendant Allen Andrew yeoman 663487 663487 Allen, Andrew, of Lea, yeoman 3
4371478 2154853 2154853 defendant Dickens William yeoman 701319 701319 Dickens, William, of Haselwood, Derbs, yeoman 4
4371479 2154853 2154853 defendant Deane John husbandman 741887 741887 Deane, John, of Plastowe, Derbs, husbandman 5
4371480 2154853 2154853 defendant Buntinge Edmund husbandman 646819 646819 Buntinge, Edmund, of Plastowe, husbandman 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 8.106ms