home / cp40x

names

8 rows where case_id = 2553390

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5630013 2553390 2553390 plaintiff Rose John     Rose, John 0
5630014 2553390 2553390 defendant Ratell William husbandman 611482 611482 Ratell, William, of Stacheden, husbandman 0
5630015 2553390 2553390 defendant Basse Simon husbandman 769739 769739 Basse, Simon, of Sharnebrook, husbandman 1
5630016 2553390 2553390 defendant Basse John husbandman 769739 769739 Basse, John, of Sharnebrook, husbandman 2
5630017 2553390 2553390 defendant Stokys Thomas husbandman 777617 777617 Stokys, Thomas, of Pabenham, husbandman 3
5630018 2553390 2553390 defendant Stokys John husbandman 777617 777617 Stokys, John, of Pabenham, husbandman 4
5630019 2553390 2553390 defendant Newenham Nicholas husbandman 588802 588802 Newenham, Nicholas, of Wotton, husbandman 5
5630020 2553390 2553390 defendant Elyot Ralph husbandman 588802 588802 Elyot, Ralph, of Wotton, 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 10.101ms