home / cp40x

names

6 rows where case_id = 2299539

✎ 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
4810943 2299539 2299539 plaintiff Forsthill John     Forsthill, John, on his own account 0
4810944 2299539 2299539 defendant Loder William loader or carrier 760307 760307 Loder, William, of Bedmynstre, loader or carrier 0
4810945 2299539 2299539 defendant Fyssher Nicholas fisher 586368 586368 Fyssher, Nicholas, of Taunton, fisher 1
4810946 2299539 2299539 defendant Lychefeld Richard fisher 586748 586748 Lychefeld, Richard, of Welles, fisher 2
4810947 2299539 2299539 defendant Lane John baker 604261 604261 Lane, John, of Wells, baker 3
4810948 2299539 2299539 defendant Coke John shoemaker 586373 586373 Coke, John, of Yevell, shoemaker 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 11.185ms