home / cp40x

names

8 rows where case_id = 2305520

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4830318 2305520 2305520 plaintiff Beverle Thomas     Beverle, Thomas 0
4830319 2305520 2305520 defendant Kember Nicholas husbandman 758757 758757 Kember, Nicholas, of Bymerton, husbandman 0
4830320 2305520 2305520 defendant Colyngborne John skinner 758757 758757 Colyngborne, John, of Bymerton, skinner 1
4830321 2305520 2305520 defendant Dynton Ralph butcher 586859 586859 Dynton, Ralph, of Salisbury, butcher 2
4830322 2305520 2305520 defendant Adam John barber 586859 586859 Adam, John, of Salisbury, barber 3
4830323 2305520 2305520 defendant Grome John husbandman 809173 809173 Grome, John, of West Harneham, husbandman 4
4830324 2305520 2305520 defendant Spark William husbandman 597723 597723 Spark, William, of Homyngton, husbandman 5
4830325 2305520 2305520 defendant Perkyn William husbandman 692556 692556 Perkyn, William, of Stratford Tony, husbandman 6

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