home / cp40x

names

6 rows where case_id = 2468870

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5378530 2468870 2468870 plaintiff Unnker or Vunker John clerk   Unnker or Vunker, John, clerk 0
5378531 2468870 2468870 defendant Howton Henry yeoman 590901 590901 Howton, Henry, of Thetford, Norf, yeoman 0
5378532 2468870 2468870 defendant Wryght Edmund butcher 587414 587414 Wryght, Edmund, of Thetford, butcher 1
5378533 2468870 2468870 defendant Fytlyng Edward husbandman 591106 591106 Fytlyng, Edward, of Depeham, husbandman 2
5378534 2468870 2468870 defendant Barker John yeoman 654561 654561 Barker, John, of Castle Acre, Norf, yeoman 3
5378535 2468870 2468870 defendant Man John chaplain 880281 880281 Man, John, of Ratelsden, Suff, chaplain 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 21.414ms