home / cp40x

names

7 rows where case_id = 2404726

✎ 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
5162383 2404726 2404726 plaintiff (not given) John prior of Tynemouth   Tynemouth, John, prior, of 0
5162384 2404726 2404726 defendant Atkynson Thomas husbandman 854883 854883 Atkynson, Thomas, of Wodhorn, husbandman 0
5162385 2404726 2404726 defendant Dycheburn Richard yeoman 854883 854883 Dycheburn, Richard, of Wodhorn, yeoman 1
5162386 2404726 2404726 defendant Atkynson John husbandman 854883 854883 Atkynson, John, of Wodhorn, husbandman 2
5162387 2404726 2404726 defendant Tode Robert husbandman 854884 854884 Tode, Robert, of Newbiggyng by Wodhorn, husbandman 3
5162388 2404726 2404726 defendant Forster Robert yeoman 854885 854885 Forster, Robert, of Brenklawe, yeoman 4
5162389 2404726 2404726 defendant Corbett Richard yeoman 854886 854886 Corbett, Richard, of Estewyk, yeoman 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 14.103ms