home / cp40x

names

6 rows where place_id = 681420

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4044824 2040599 2040599 defendant Spente or Spence Thomas yeoman 681420 681420 Spente or Spence, Thomas, of Wildon, yeoman 3
5052182 2372261 2372261 defendant Couper John husbandman 681420 681420 Couper, John, of Wildon, husbandman 3
5120249 2392359 2392359 defendant Couper John yeoman 681420 681420 Couper, John, of Wildon, yeoman 1
5141263 2398565 2398565 defendant Couper John (legal representative) 681420 681420 Couper, John, of Wildon, executors of 0
5141264 2398565 2398565 defendant Couper William husbandman 681420 681420 (Couper, William, of Wildon, husbandman 1
5141265 2398565 2398565 defendant Couper Elizabeth widow 681420 681420 Couper, Elizabeth, of Wildon, widow 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 13.553ms