home / cp40x

names

6 rows where case_id = 2302376

✎ 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
4820147 2302376 2302376 plaintiff Purchas Henry grocer 585869 585869 Purchas, Henry, of London, grocer, on his own account 0
4820148 2302376 2302376 defendant Crucher John chapman 807401 807401 Crucher, John, of Burgham, Sussex, chapman 0
4820149 2302376 2302376 defendant Netter William chapman 624646 624646 Netter, William, of Seford, Sussex, chapman 1
4820150 2302376 2302376 defendant Goos John   763615 763615 Goos, John, of Storteford, Herts, tallow chandler 2
4820151 2302376 2302376 defendant Berford Margaret widow 585869 585869 Berford, Margaret, of London, widow 3
4820152 2302376 2302376 defendant Halfpeny John chapman 592442 592442 Halfpeny, John, of Goutherst, Kent, chapman 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 14.226ms