home / cp40x

names

6 rows where case_id = 2098021

✎ 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
4207079 2098021 2098021 plaintiff Pulleyn Samuel gent   Pulleyn, Samuel, gent 0
4207080 2098021 2098021 defendant Pulleyn Agnes widow 669259 669259 Pulleyn, Agnes, of Kelinghall, widow 0
4207081 2098021 2098021 defendant Dittonson Peter yeoman 715017 715017 Dittonson , Peter, of Kellinghall, yeoman 1
4207082 2098021 2098021 defendant Creyke George gent 715017 715017 Creyke, George, of Kellinghall, gent 2
4207083 2098021 2098021 defendant Nawden William yeoman 715017 715017 Nawden, William, of Kellinghall, yeoman 3
4207084 2098021 2098021 defendant Hall William yeoman 715017 715017 Hall William, of Kellinghall, 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 6.667ms