home / cp40x

names

8 rows where case_id = 2258921

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4678624 2258921 2258921 plaintiff Howes John, senior     Howes, John, senior, on his own account 0
4678625 2258921 2258921 defendant Parker Nicholas yeoman 737011 737011 Parker, Nicholas, of Irnham, Lincs, yeoman 0
4678626 2258921 2258921 defendant Mapulberk William yeoman 587205 587205 Mapulberk, William, of Grantham, yeoman 1
4678627 2258921 2258921 defendant Taillour John yeoman 720528 720528 Taillour, John, of Irnham, yeoman 2
4678628 2258921 2258921 defendant Hogh John yeoman 587205 587205 Hogh, John, of Grantham, yeoman 3
4678629 2258921 2258921 defendant Sturthe William yeoman 600872 600872 Sturthe, William, of Abyngton, yeoman 4
4678630 2258921 2258921 defendant Brynder John yeoman 587205 587205 Brynder, John, of Grantham, yeoman 5
4678631 2258921 2258921 defendant Whitewell William yeoman 782670 782670 Whitewell, William, of Billisfeld, yeoman 6

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