home / cp40x

names

6 rows where case_id = 2377461

✎ 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
5069799 2377461 2377461 plaintiff Rotheley William   588791 588791 Rotheley, William, of Derteford 0
5069800 2377461 2377461 defendant Richard of Longefeld husbandman   Richard, of Longefeld, husbandman 0
5069801 2377461 2377461 defendant Chambre John husbandman 614513 614513 Chambre, John, of Cokeston, husbandman 1
5069802 2377461 2377461 defendant London John husbandman 601339 601339 London, John, of Southflete, husbandman 2
5069803 2377461 2377461 defendant Cristean William (legal representative)   Cristean, William, executors of 3
5069804 2377461 2377461 defendant Comyn Robert smith 588791 588791 (Comyn, Robert, of Derteford, smith 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 14.981ms