home / cp40x

names

6 rows where case_id = 1937255

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3735233 1937255 1937255 plaintiff Hamond Andrew     Hamond, Andrew 0
3735234 1937255 1937255 defendant Mathewe alias Wode Thomas weaver 617429 617429 Mathewe alias Wode, Thomas, of Waldyngfeld Parva, weaver 0
3735235 1937255 1937255 defendant Ree John smith 617429 617429 Ree, John, of Waldyngfeld Parva, smith 1
3735236 1937255 1937255 defendant Archer John sherman 617429 617429 Archer, John, of Waldyngfeld Parva, sherman 2
3735237 1937255 1937255 defendant Strudwyk Richard dyer 617429 617429 Strudwyk, Richard, of Waldyngfeld Parva, dyer 3
3735238 1937255 1937255 defendant Shoppe John sherman 613016 613016 Shoppe, John, of Waldyngfeld Magna, sherman 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 14.531ms