home / cp40x

names

6 rows where case_id = 1931227

✎ 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
3715790 1931227 1931227 plaintiff Campion Robert     Campion, Robert 0
3715791 1931227 1931227 defendant Sawston William glover 597295 597295 Sawston, William, of Sawston, glover 0
3715792 1931227 1931227 defendant Rudyng Humphrey gent 616723 616723 Rudyng, Humphrey, of Dyrtwych, Worcs, gent 1
3715793 1931227 1931227 defendant Whyt Thomas of London merchant   Whyt, Thomas of London, merchant 2
3715794 1931227 1931227 defendant Hunt Robert husbandman 592738 592738 Hunt, Robert, of Godmanchester, Hunts, husbandman 3
3715795 1931227 1931227 defendant Pawkyn Robert husbandman 589100 589100 Pawkyn, Robert, of Chesterton, husbandman 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 15.29ms