home / cp40x

names

5 rows where case_id = 2454127

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5330265 2454127 2454127 plaintiff Bekwyth William esq   Bekwyth, William, esq 0
5330266 2454127 2454127 defendant Carter Gilbert laborer 589310 589310 Carter, Gilbert, of Ripon, laborer 0
5330267 2454127 2454127 defendant Carter Thomas laborer 874125 874125 Carter, Thomas, of Leyburn, Wensley, laborer 1
5330268 2454127 2454127 defendant Danson or Dauson John chapman 587266 587266 togther with Danson or Dauson, John, of Rypon, chapman 2
5330269 2454127 2454127 defendant Jakson William laborer 589588 589588 Jakson, William, of Honedon, laborer 3

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.011ms