home / cp40x

names

9 rows where case_id = 2056847

✎ 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
4090384 2056847 2056847 plaintiff Corbett Alice widow   Corbett, Alice, widow 0
4090385 2056847 2056847 plaintiff Whorwood Thomas esq   Whorwood, Thomas, esq 1
4090386 2056847 2056847 plaintiff Skrymshere James gent   Skrymshere, James, gent 2
4090387 2056847 2056847 defendant Davyson alias Stycher John laborer 594591 594591 Davyson alias Stycher, John, of Drayton, Salop, laborer 0
4090388 2056847 2056847 defendant Cooke Humphrey laborer 593282 593282 Cooke, Humphrey, of Drayton, laborer 1
4090389 2056847 2056847 defendant Allen Elizabeth spinster 593282 593282 Allen, Elizabeth, of Drayton, spinster 2
4090390 2056847 2056847 defendant Blomer John   691530 691530 Blomer, John, of Tyrley, wheelwright 3
4090391 2056847 2056847 defendant Bostocke John laborer 691531 691531 Bostocke, John, of Chipnall, Salop, laborer 4
4090392 2056847 2056847 defendant Upton Robert   618055 618055 Upton, Robert, of Cheswardyne, Salopm laborer 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 15.525ms