home / cp40x

names

7 rows where case_id = 2250790

✎ 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
4665834 2250790 2250790 plaintiff Hotot John esq   Hotot, John, esq 0
4665835 2250790 2250790 defendant Spicer John chapman 586818 586818 Spicer, John, of Stowemarket, chapman 0
4665836 2250790 2250790 defendant Ch- John laborer 586818 586818 Ch-, John, of Stowemarket, laborer 1
4665837 2250790 2250790 defendant Brook Thomas laborer 586818 586818 Brook, Thomas, of Stowemarket, laborer 2
4665838 2250790 2250790 defendant Caleys Simon laborer 586818 586818 Caleys, Simon, of Stowemarket, laborer 3
4665839 2250790 2250790 defendant Curteys John fuller 586818 586818 Curteys, John, of Stowemarket, fuller 4
4665840 2250790 2250790 defendant Coo John laborer 586818 586818 Coo, John, of Stowemarket, laborer 5

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.328ms