home / cp40x

names

6 rows where place_id = 693310

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4099185 2060033 2060033 defendant Keymer Peter husbandman 693310 693310 Keymer, Peter, of Lyttelham, husbandman 0
4680315 2259456 2259456 plaintiff Levanant Robert   693310 693310 Levanant, Robert, of Lyttelham, on his own account 0
4736382 2276508 2276508 defendant Sparke John husbandman 693310 693310 Sparke, John, of Lyttelham, husbandman 0
4744607 2278942 2278942 defendant Canon John husbandman 693310 693310 Canon, John, of Lyttelham, husbandman 0
4897659 2325933 2325933 defendant Churchehill Oto gent 693310 693310 Churchehill, Oto, of Lyttelham, gent 0
5297209 2444179 2444179 defendant Wattys William merchant 693310 693310 Wattys, William, of Lyttelham, merchant 3

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 13.822ms