home / cp40x

names

8 rows where case_id = 2343332

✎ 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
4954588 2343332 2343332 plaintiff Stapilton Miles esq   Stapilton, Miles, esq 0
4954589 2343332 2343332 plaintiff Brewes Thomas esq   Brewes, Thomas, esq 1
4954590 2343332 2343332 defendant Maynard John   590405 590405 Maynard, John, of Martham, franklin 0
4954591 2343332 2343332 defendant Hagh John carpenter 611208 611208 Hagh, John, of Catefeld, carpenter 1
4954592 2343332 2343332 defendant Mundeford John courser 590740 590740 Mundeford, John, of Rollesby, courser 2
4954593 2343332 2343332 defendant Pykston William husbandman 596907 596907 Pykston, William, of Ludham, husbandman 3
4954594 2343332 2343332 defendant Machon Nicholas husbandman 596907 596907 Machon, Nicholas, of Ludham, husbandman 4
4954595 2343332 2343332 defendant Cook John husbandman 641532 641532 Cook, John, of Potter Heigham, husbandman 5

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 13.791ms