home / cp40x

names

8 rows where case_id = 2509966

✎ 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
5516405 2509966 2509966 plaintiff Swift John     Swift, John 0
5516406 2509966 2509966 defendant Bilby William husbandman 682217 682217 Bilby, William, of South Anston, husbandman 0
5516407 2509966 2509966 defendant Yorkshire John butcher 599116 599116 Yorkshire, John, of Rotheram, butcher 1
5516408 2509966 2509966 defendant Wade John laborer 599116 599116 Wade, John, of Rotheram, laborer 2
5516409 2509966 2509966 defendant Odeson John shoemaker 599116 599116 Odeson, John, of Rotheram, shoemaker 3
5516410 2509966 2509966 defendant Taillour John husbandman 771134 771134 Taillour, John, of Thropon, husbandman 4
5516411 2509966 2509966 defendant Matley alias Dyker James laborer 618952 618952 Matley alias Dyker, James, of Dodworth, laborer 5
5516412 2509966 2509966 defendant Walhall Robert slater 618952 618952 Walhall, Robert, of Dodworth, slater 6

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.485ms