home / cp40x

names

5 rows where case_id = 2013886

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3969351 2013886 2013886 plaintiff Copleston Anthony gent 663585 663585 Copleston, Anthony, of Weke, gent 0
3969352 2013886 2013886 defendant Johnson William merchant 663586 663586 Johnson, William, of Torrington Magna, Devon, merchant 0
3969353 2013886 2013886 defendant Townesend Humphrey husbandman 663587 663587 Townesend, Humphrey, of Torryngton Parva, husbandman 1
3969354 2013886 2013886 defendant Holland Robert merchant 604694 604694 Holland, Robert, of Dartmouth, Devon, merchant 2
3969355 2013886 2013886 defendant Gilberd Edward gent 611607 611607 Gilberd, Edward, of Bovy Tracy, Devon, gent 3

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 16.328ms