home / cp40x

names

6 rows where place_id = 593068

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3610311 1870880 1870880 defendant Wro John husbandman 593068 593068 Wro, John, of Bokenham Carleton, husbandman 0
3897677 1989432 1989432 defendant Nuby John husbandman 593068 593068 Nuby, John, of Bokenham Carleton, husbandman 1
4435267 2175788 2175788 defendant Smyth John le   593068 593068 Smyth, John le, of Bokenham Carleton 1
4905784 2328411 2328411 defendant Machon John husbandman 593068 593068 Machon, John, of Bokenham Carleton, husbandman 0
5109978 2389348 2389348 defendant Pyle Simon husbandman 593068 593068 Pyle, Simon, of Bokenham Carleton, husbandman 0
5331417 2454474 2454474 defendant Bret Thomas husbandman 593068 593068 Bret, Thomas, of Bokenham Carleton, husbandman 1

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