home / cp40x

names

6 rows where case_id = 2443529

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5295002 2443529 2443529 plaintiff Thwaytes Henry     Thwaytes, Henry 0
5295003 2443529 2443529 defendant Morsell William butcher 586070 586070 Morsell, William, of Beverley, butcher 0
5295004 2443529 2443529 defendant Sclater Thomas yeoman 586070 586070 Sclater, Thomas, of Beverley, yeoman 1
5295005 2443529 2443529 defendant Qwayle John merchant 586070 586070 Qwayle, John, of Beverley, merchant 2
5295006 2443529 2443529 defendant Wilson John yeoman 869715 869715 Wilson, John, of Hornsy in Holdernes, yeoman 3
5295007 2443529 2443529 defendant Clyffe Henry yeoman 596148 596148 Clyffe, Henry, of Lokyngton, yeoman 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 6.312ms