home / cp40x

names

7 rows where case_id = 1931622

✎ 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
3717062 1931622 1931622 plaintiff Cupper John clerk   Cupper, John, clerk, executor of 0
3717063 1931622 1931622 plaintiff Pratt Richard clerk   Pratt, Richard, clerk 1
3717064 1931622 1931622 defendant Woodcock William raffman 616961 616961 Woodcock, William, of Holt Markett, raffman 0
3717065 1931622 1931622 defendant Bay William   616963 616963 Bay, William, of Barnham Brome, ploughwright 1
3717066 1931622 1931622 defendant Elby William husbandman 600049 600049 Elby, William, of Matteshale, husbandman 2
3717067 1931622 1931622 defendant Dykney William husbandman 616963 616963 Dykney, William, of Barnham Brome, husbandman 3
3717068 1931622 1931622 defendant Lutkyn Thomas tailor 591103 591103 Lutkyn, Thomas, of Attilburgh, tailor 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 8.171ms