home / cp40x

names

7 rows where case_id = 2498601

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5478509 2498601 2498601 plaintiff Bonvyle John esq   Bonvyle, John, esq 0
5478510 2498601 2498601 defendant Fraunceys John, junior   891600 891600 Fraunceys, John, junior, of Hornecote, groom 0
5478511 2498601 2498601 defendant Escote William   755453 755453 Escote, William, of Boycote, groom 1
5478512 2498601 2498601 defendant Nycoll John, junior   819129 819129 Nycoll, John, junior, of Forkeston, groom 2
5478513 2498601 2498601 defendant Lange Thomas, junior husbandman 604101 604101 Lange, Thomas, junior, of Tamerton, husbandman 3
5478514 2498601 2498601 defendant Uppecote Robert husbandman 604101 604101 Uppecote, Robert, of Tamerton, husbandman 4
5478515 2498601 2498601 defendant Fraunceys Robert husbandman 604101 604101 Fraunceys, Robert, of Tamerton, husbandman 5

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 6.382ms