home / cp40x

names

7 rows where case_id = 1867395

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3599210 1867395 1867395 plaintiff Thrykeld John     Thrykeld, John 0
3599211 1867395 1867395 defendant Hillyng William yeoman 587224 587224 Hillyng, William, of Otery St Mary, yeoman 0
3599212 1867395 1867395 defendant Pepyr William tailor 587224 587224 Pepyr, William, of Otery St Mary, tailor 1
3599213 1867395 1867395 defendant Hillyng Charles baker 587224 587224 Hillyng, Charles, of Otery St Mary, baker 2
3599214 1867395 1867395 defendant Cullyng John laborer 587224 587224 Cullyng, John, of Otery St Mary, laborer 3
3599215 1867395 1867395 defendant Wade Thomas yeoman 587224 587224 Wade, Thomas, of Otery St Mary, yeoman 4
3599216 1867395 1867395 defendant Smale Thomas laborer 587224 587224 Smale, Thomas, of Otery St Mary, laborer 5

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