home / cp40x

names

7 rows where case_id = 2335570

✎ 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
4929259 2335570 2335570 plaintiff Sterlyng William     Sterlyng, William 0
4929260 2335570 2335570 plaintiff Sterlyng Edith     Edith, his wife 1
4929261 2335570 2335570 defendant Bensham John husbandman 823607 823607 Bensham, John, of Welescombe, husbandman 0
4929262 2335570 2335570 defendant Collok John husbandman 823607 823607 Collok, John, of Welescombe, husbandman 1
4929263 2335570 2335570 defendant Petisyde Walter husbandman 823607 823607 Petisyde, Walter, of Welescombe, husbandman 2
4929264 2335570 2335570 defendant Dewemay John husbandman 823607 823607 Dewemay, John, of Welescombe, husbandman 3
4929265 2335570 2335570 defendant Fenell Richard laborer 596054 596054 Fenell, Richard, of Chedder, laborer 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 15.957ms