home / cp40x

names

6 rows where case_id = 2508407

✎ 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
5511382 2508407 2508407 plaintiff Jenney Thomas gent   Jenney, Thomas, gent 0
5511383 2508407 2508407 defendant Doget Edmund yeoman 589928 589928 Doget, Edmund, of Mendham, yeoman 0
5511384 2508407 2508407 defendant Nyche John yeoman 589928 589928 Nyche, John, of Mendham, yeoman 1
5511385 2508407 2508407 defendant Broun John husbandman 594855 594855 Broun, John, of Sterston, Norf, husbandman 2
5511386 2508407 2508407 defendant Saven or Sanen William husbandman 589928 589928 Saven or Sanen, William, of Mendham, husbandman 3
5511387 2508407 2508407 defendant Fynche John yeoman 589928 589928 Fynche, John, of Mendham, 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 7.989ms