home / cp40x

names

8 rows where case_id = 2326964

✎ 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
4901078 2326964 2326964 plaintiff (not given)   bishop of Carlisle   Carlisle, bishop of 0
4901079 2326964 2326964 defendant Hardyng William gent 586836 586836 Hardyng, William, of Newcastle on Tyne, gent 0
4901080 2326964 2326964 defendant Seman John   819279 819279 Seman, John, of Newcastle on Tyne, merchsnt 1
4901081 2326964 2326964 defendant Smyth Thomas husbandman 755097 755097 Smyth, Thomas, of Mitteford, husbandman 2
4901082 2326964 2326964 defendant White John yeoman 782217 782217 White, John, of Neweburn, yeoman 3
4901083 2326964 2326964 defendant Welshod John yeoman 782217 782217 Welshod, John, of Neweburn, yeoman 4
4901084 2326964 2326964 defendant Cowedon William yeoman 819073 819073 Cowedon, William, of Werkworth, yeoman 5
4901085 2326964 2326964 defendant Eshell John yeoman 819280 819280 Eshell, John, of Butterlawe, yeoman 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 16.331ms