home / cp40x

names

7 rows where case_id = 1926886

✎ 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
3702015 1926886 1926886 plaintiff Caborn Thomas     Caborn, Thomas 0
3702016 1926886 1926886 plaintiff Sergeant Thomas churchwardens of Saltfletby   Sergeant, Thomas, churchwardens of Saltfletby 1
3702017 1926886 1926886 defendant Sherwode William chaplain 587620 587620 Sherwode, William, of Saltfletby, chaplain 0
3702018 1926886 1926886 defendant Sherwode George laborer 587620 587620 Sherwode, George, of Saltfletby, laborer 1
3702019 1926886 1926886 defendant West Robert mariner 587620 587620 West, Robert, of Saltfletby, mariner 2
3702020 1926886 1926886 defendant Raa Nicholas, senior laborer 587620 587620 Raa, Nicholas, senior, of Saltfletby, laborer 3
3702021 1926886 1926886 defendant Kendall alias Barton Alice spinster 587620 587620 Kendall alias Barton, Alice, of Saltfletby, spinster 4

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