home / cp40x

names

6 rows where case_id = 2397254

✎ 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
5136684 2397254 2397254 plaintiff Pakenham Hugh   676568 676568 Pakenham, Hugh, of Wiltshire, sheriff 0
5136685 2397254 2397254 defendant Ramdes John yeoman 851392 851392 Ramdes, John, of Stratford by Salisbury, Wilts, yeoman 0
5136686 2397254 2397254 defendant Hille Thomas fuller 851393 851393 Hille, Thomas, of Aven by Salisbury, fuller 1
5136687 2397254 2397254 defendant Martyn Nicholas husbandman 673476 673476 Martyn, Nicholas, of durneford, Wilts, husbandman 2
5136688 2397254 2397254 defendant Carpenter John husbandman 772989 772989 Carpenter, John, of Willesford, husbandman 3
5136689 2397254 2397254 defendant Farlegh John gent 600042 600042 Farlegh, John, of Stokton, Wilts, gent 4

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