home / cp40x

names

6 rows where case_id = 2399426

✎ 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
5144100 2399426 2399426 plaintiff Barker Henry     Barker, Henry 0
5144101 2399426 2399426 defendant Wethir William husbandman 604512 604512 Wethir, William, of Wighton, husbandman 0
5144102 2399426 2399426 defendant Baret Robert butcher 589834 589834 Baret, Robert, of Wyssyngsete, butcher 1
5144103 2399426 2399426 defendant Baxster John husbandman 852640 852640 Baxster, John, of Dallyng by Bynham, husbandman 2
5144104 2399426 2399426 defendant Grey William carpenter 852641 852641 Grey, William, of Baleswell, carpenter 3
5144105 2399426 2399426 defendant Dousyng William husbandman 606238 606238 Dousyng, William, of West Bilney, husbandman 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 15.912ms