home / cp40x

names

6 rows where case_id = 2434870

✎ 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
5265175 2434870 2434870 plaintiff Stillington Robert Bishop of Bath and Wells   Stillington, Robert, Bishop of Bath and Wells 0
5265176 2434870 2434870 defendant Kelly William gent 593673 593673 Kelly, William, of St Clement Danes, Middx, gent 0
5265177 2434870 2434870 defendant Peverell Thomas clerk 603813 603813 Peverell, Thomas, of Churchehill, clerk 1
5265178 2434870 2434870 defendant Rogers Thomas yeoman 865927 865927 Rogers, Thomas, of Sutton, Bishops Chewe, yeoman 2
5265179 2434870 2434870 defendant Touky or Tonky William yeoman 603813 603813 Touky or Tonky, William, of Churchehill, yeoman 3
5265180 2434870 2434870 defendant Dey William yeoman 865928 865928 Dey, William, of Neuton St Lo, 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 14.168ms