home / cp40x

names

5 rows where place_id = 669475

✎ 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
3993348 2022361 2022361 defendant Byckham John, junior husbandman 669475 669475 Byckham, John, junior, of Woodland, Devon, husbandman 0
4153029 2079164 2079164 defendant Mallett Malachai gent 669475 669475 Mallett, Malachai, of Woodland, Devon, gent 0
4304638 2131754 2131754 defendant Cole Robert yeoman 669475 669475 Cole, Robert, of Woodland, Devon, yeoman 2
4400481 2164755 2164755 defendant Woodley William gent 669475 669475 Woodley, William, of Woodland, Devon, gent 1
4408600 2167468 2167468 defendant Woodleighe William gent 669475 669475 Woodleighe, William, of Woodland, Devon, gent 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.216ms