home / cp40x

names

6 rows where case_id = 2329197

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4908449 2329197 2329197 plaintiff Asshebury Hugh     Asshebury, Hugh 0
4908450 2329197 2329197 defendant Colman John husbandman 820247 820247 Colman, John, of Angmaryng, Sussex, husbandman 0
4908451 2329197 2329197 defendant Long Nicholas husbandman 613936 613936 Long, Nicholas, of Angmaryng, husbandman 1
4908452 2329197 2329197 defendant Fauconer John husbandman 820249 820249 Fauconer, John, of Wekesbury, husbandman 2
4908453 2329197 2329197 defendant Bere Robert   585869 585869 Bere, Robert, of London, shoe maker 3
4908454 2329197 2329197 defendant Wake John husbandman 820248 820248 Wake, John, of Erdyngton, Berks, 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 17.795ms