home / cp40x

names

9 rows where case_id = 2293199

✎ 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
4790764 2293199 2293199 plaintiff Laurence John     Laurence, John 0
4790765 2293199 2293199 defendant Hywelet William mariner 601694 601694 Hywelet, William, of Northam, mariner 0
4790766 2293199 2293199 defendant Pyper Thomas mariner 800842 800842 Pyper, Thomas, of Apyldore, mariner 1
4790767 2293199 2293199 defendant Syllysford John husbandman 601694 601694 Syllysford, John, of Northam, husbandman 2
4790768 2293199 2293199 defendant Cywele Thomas mariner 646232 646232 Cywele, Thomas, of Budeford, mariner 3
4790769 2293199 2293199 defendant Paynter John husbandman 774596 774596 Paynter, John, of Cryde, husbandman 4
4790770 2293199 2293199 defendant Waye Thomas mariner 588231 588231 Waye, Thomas, of Ilfercombe, mariner 5
4790771 2293199 2293199 defendant Hoper John mariner 588231 588231 Hoper, John, of Ilfercombe, mariner 6
4790772 2293199 2293199 defendant Jon Thomas mariner 593607 593607 Jon, Thomas, of Peynton, mariner 7

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.034ms