home / cp40x

names

6 rows where case_id = 2536818

✎ 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
5606162 2536818 2536818 plaintiff Tassell Richard     Tassell, Richard 0
5606163 2536818 2536818 defendant Nayler John husbandman 905192 905192 Nayler, John, of Balson, husbandman 0
5606164 2536818 2536818 defendant Hylle John husbandman 905193 905193 Hylle, John, of Smayleswell, husbandman 1
5606165 2536818 2536818 defendant Jote William husbandman 592173 592173 Jote, William, of Folborn, husbandman 2
5606166 2536818 2536818 defendant Bartram John laborer 590243 590243 Bartram, John, of Newmarket, laborer 3
5606167 2536818 2536818 defendant Batele William clerk 905194 905194 Batele, William, of Folson, clerk 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.954ms