home / cp40x

names

8 rows where case_id = 1983410

✎ 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
3879537 1983410 1983410 plaintiff Mynours Alice widow   Mynours, Alice, widow 0
3879538 1983410 1983410 defendant Asshemore Robert husbandman 633310 633310 Asshemore, Robert, of Horsely, husbandman 0
3879539 1983410 1983410 defendant Frances John husbandman 604686 604686 Frances, John, of Holbroke, husbandman 1
3879540 1983410 1983410 defendant Shene Thomas husbandman 644424 644424 Shene, Thomas, of Hertyngton, husbandman 2
3879541 1983410 1983410 defendant Hill John husbandman 644424 644424 Hill, John, of Hertyngton, husbandman 3
3879542 1983410 1983410 defendant Cantrell William butcher 636519 636519 Cantrell, William, of Wyrkysworth, butcher 4
3879543 1983410 1983410 defendant Fletcher William husbandman 601411 601411 Fletcher, William, of Mylnehouse, husbandman 5
3879544 1983410 1983410 defendant Pylkynton William carpenter 639179 639179 Pylkynton, William, of Makeney, carpenter 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.254ms