home / cp40x

names

7 rows where case_id = 1865853

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3594307 1865853 1865853 plaintiff Kele Robert     Kele, Robert 0
3594308 1865853 1865853 defendant Wright William yeoman 588381 588381 Wright, William, of Howedon, Yorks, yeoman 0
3594309 1865853 1865853 defendant Burdon William yeoman 588373 588373 Burdon, William, of Rosse, yeoman 1
3594310 1865853 1865853 defendant Westby Henry gent 588382 588382 Westby, Henry, of Frysby, gent 2
3594311 1865853 1865853 defendant Nunwyk alias Samwyk Robert weaver 588383 588383 Nunwyk alias Samwyk, Robert, of Carleton juxta Snath, weaver 3
3594312 1865853 1865853 defendant Brompton Robert merchant 585932 585932 Brompton, Robert, of Kingston on Hull, merchant 4
3594313 1865853 1865853 defendant Barton Thomas butcher 588384 588384 Barton, Thomas, of Barton on Humber, Lincs, butcher 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 18.613ms