home / cp40x

names

8 rows where case_id = 1963641

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3818346 1963641 1963641 plaintiff Marcoll John     Marcoll, John 0
3818347 1963641 1963641 plaintiff Marcoll Robert     Marcoll, Robert 1
3818348 1963641 1963641 plaintiff Jameson John     Jameson, John 2
3818349 1963641 1963641 defendant Broun John laborer 611683 611683 Broun, John, of Sharnburn, laborer 0
3818350 1963641 1963641 defendant Palmer Thomas husbandman 631486 631486 Palmer, Thomas, of Mylam, husbandman 1
3818351 1963641 1963641 defendant Whyte William thatcher 634344 634344 Whyte, William, of Milam, thatcher 2
3818352 1963641 1963641 defendant White Richard laborer 634345 634345 White, Richard, of Trowes juxta Norwich, laborer 3
3818353 1963641 1963641 defendant Broun John husbandman 612456 612456 Broun, John, of Mileham, husbandman 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 21.812ms