home / cp40x

names

6 rows where case_id = 2416828

✎ 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
5203675 2416828 2416828 plaintiff Costantyne William     Costantyne, William 0
5203676 2416828 2416828 defendant Caker John husbandman 602305 602305 Caker, John, of Peterburgh, husbandman 0
5203677 2416828 2416828 defendant Miller Robert yeoman 602305 602305 Miller, Robert, of Peterburgh, yeoman 1
5203678 2416828 2416828 defendant Marram John yeoman 602305 602305 Marram, John, of Peterburgh, yeoman 2
5203679 2416828 2416828 defendant Asshedale William yeoman 602305 602305 Asshedale, William, of Peterburgh, yeoman 3
5203680 2416828 2416828 defendant Taillour William tailor 608604 608604 Taillour, William, of Thyngden, tailor 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.549ms