home / cp40x

names

9 rows where case_id = 1934105

✎ 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
3724997 1934105 1934105 plaintiff Shelley John esq   Shelley, John, esq 0
3724998 1934105 1934105 plaintiff Pole William gent   Pole, William, gent 1
3724999 1934105 1934105 plaintiff Johnson Edward     Johnson, Edward 2
3725000 1934105 1934105 plaintiff Lane John     Lane, John 3
3725001 1934105 1934105 defendant Wigan William clerk 588665 588665 Wigan, William, of Dartford, clerk 0
3725002 1934105 1934105 defendant Churche Thomas husbandman 588665 588665 Churche, Thomas, of Dartford, husbandman 1
3725003 1934105 1934105 defendant Bulbek Henry husbandman 586145 586145 Bulbek, Henry, of Crayford, husbandman 2
3725004 1934105 1934105 defendant Bylwalter Thomas laborer 588665 588665 Bylwalter, Thomas, of Dartford, laborer 3
3725005 1934105 1934105 defendant Thaccher William laborer 618508 618508 Thaccher, William, of Wylmonton, laborer 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 17.431ms