home / cp40x

names

7 rows where case_id = 2348260

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4970971 2348260 2348260 plaintiff Hogeson Mathew     Hogeson, Mathew 0
4970972 2348260 2348260 defendant Hwetson or Hewetson Christopher yeoman 726734 726734 Hwetson or Hewetson, Christopher, of Burgh, Lancs, yeoman 0
4970973 2348260 2348260 defendant Hwetson or Hewetson Thomas yeoman 586784 586784 Hwetson or Hewetson, Thomas, of Burgh, yeoman 1
4970974 2348260 2348260 defendant Hwetson or Hewetson James yeoman 586784 586784 Hwetson or Hewetson, James, of Burgh, yeoman 2
4970975 2348260 2348260 defendant Haybergh Christopher yeoman 828917 828917 Haybergh, Christopher, of Dent juxta Sedbergh, yeoman 3
4970976 2348260 2348260 defendant Markendale William yeoman 828918 828918 Markendale, William, of Killyngton, Kirkeby Londesdale, Westmor, yeoman 4
4970977 2348260 2348260 defendant Baille William yeoman 828919 828919 Baille, William, of Barbon, Kirkeby Londesdale, 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 13.441ms