home / cp40x

names

7 rows where place_id = 842755

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5069945 2377503 2377503 defendant Farsley Robert collier 842755 842755 Farsley, Robert, of Wyghell, collier 1
5081705 2381031 2381031 defendant Turnour John laborer 842755 842755 Turnour, John, of Wyghell, laborer 7
5081709 2381031 2381031 defendant Fuster William laborer 842755 842755 Fuster, William, of Wyghell, laborer 11
5081790 2381052 2381052 defendant Wilson John, senior yeoman 842755 842755 Wilson, John, senior, of Wyghell, yeoman 1
5081791 2381052 2381052 defendant Wilson John, junior husbandman 842755 842755 Wilson, John, junior, of Wyghell, husbandman 2
5081792 2381052 2381052 defendant Rousley or Ronsley John, senior yeoman 842755 842755 Rousley or Ronsley, John, senior, of Wyghell, yeoman 3
5081793 2381052 2381052 defendant Casteley John, senior yeoman 842755 842755 Casteley, John, senior, of Wyghell, yeoman 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 15.333ms