home / cp40x

names

7 rows where case_id = 2299057

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4809214 2299057 2299057 plaintiff Deye Richard     Deye, Richard 0
4809215 2299057 2299057 defendant Deye John   805457 805457 Deye, John, of Swerdston, parson of Waketon 0
4809216 2299057 2299057 defendant Slaywryghte alias Redere William   805458 805458 Slaywryghte alias Redere, William, of Depham, slaywright 1
4809217 2299057 2299057 defendant Neve John laborer 755676 755676 Neve, John, of Little Elyngham, laborer 2
4809218 2299057 2299057 defendant Davy Thomas yeoman 586365 586365 Davy, Thomas, of Wymondham, yeoman 3
4809219 2299057 2299057 defendant Warner Robert tailor 622670 622670 Warner, Robert, of Kenynghale, tailor 4
4809220 2299057 2299057 defendant Gyle Thomas laborer 586102 586102 with Gyle, Thomas, of Hengham, laborer 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 16.939ms