home / cp40x

names

6 rows where case_id = 1977765

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3862843 1977765 1977765 plaintiff Hele Thomas mercer 586859 586859 Hele, Thomas, of Salisbury, mercer 0
3862844 1977765 1977765 defendant Pulton Robert yeoman 616326 616326 Pulton, Robert, of Pewsey, yeoman 0
3862845 1977765 1977765 defendant Pulton John husbandman 641631 641631 Pulton, John, of Wilcote, husbandman 1
3862846 1977765 1977765 defendant Hackelett Giles chaplain 586859 586859 Hackelett, Giles, of Salisbury, chaplain 2
3862847 1977765 1977765 defendant Wey William capper 641632 641632 Wey, William, of Tame, Berks, capper 3
3862848 1977765 1977765 defendant Lambell John mercer 641634 641634 Lambell, John, of West Lydford, Soms, mercer 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 13.353ms