home / cp40x

names

6 rows where place_id = 831181

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4988345 2353484 2353484 defendant Bower John yeoman 831181 831181 Bower, John, of Neweton Abbot, Devon, yeoman 0
4988349 2353485 2353485 defendant Bowere John yeoman 831181 831181 Bowere, John, of Neweton Abbot, Devon, yeoman 0
5255106 2431709 2431709 defendant Sayer John chapman 831181 831181 Sayer, John, of Neweton Abbot, Devon, chapman 0
5274203 2437535 2437535 defendant (illegible) John shoemaker 831181 831181 ---, John, of Neweton Abbot, Devon, shoemaker 0
5274205 2437536 2437536 defendant Pope John shoemaker 831181 831181 Pope, John, of Neweton Abbot, Devon, shoemaker 0
5628950 2553023 2553023 defendant Preston William merchant 831181 831181 Preston, William, of Neweton Abbot, Devon, merchant 2

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 5.584ms