home / cp40x

names

6 rows where place_id = 679746

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4037474 2038064 2038064 defendant Dennys George yeoman 679746 679746 Dennys, George, of Legborn, yeoman 2
4106231 2062520 2062520 defendant Bates Richard weaver 679746 679746 Bates, Richard, of Legborn, weaver 1
4189514 2091832 2091832 defendant Kerke Thomas yeoman 679746 679746 Kerke, Thomas, of Legborn, yeoman 0
5251948 2430712 2430712 defendant Mathewe John husbandman 679746 679746 Mathewe, John, of Legborn, husbandman 4
5260541 2433431 2433431 defendant Ulsby William   679746 679746 Ulsby, William, of Legborn, cartwright 1
5600897 2535169 2535169 defendant Darsy George pardoner 679746 679746 Darsy, George, of Legborn, pardoner 0

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