home / cp40x

names

6 rows where case_id = 2436623

✎ 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
5271034 2436623 2436623 plaintiff Forster Robert     Forster, Robert, on his own account 0
5271035 2436623 2436623 defendant Peche Thomas yeoman 589771 589771 Peche, Thomas, of Wodeford, Essex, yeoman 0
5271036 2436623 2436623 defendant Beaushyn William esq 866722 866722 Beaushyn, William, of Bradforth, Wilts, esq 1
5271037 2436623 2436623 defendant Bylte William   587485 587485 Bylte, William, of Stratford Langthorn, Essex, wheel wright 2
5271038 2436623 2436623 defendant Barfote Thomas yeoman 611286 611286 Barfote, Thomas, of Sunnyng, Berks, yeoman 3
5271039 2436623 2436623 defendant Gebbe William yeoman 650584 650584 Gebbe, William, of Waltamstowe, Essex, yeoman 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 12.921ms