home / cp40x

names

9 rows where case_id = 1948591

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3770916 1948591 1948591 plaintiff Staloun John     Staloun, John 0
3770917 1948591 1948591 plaintiff Clopton Richard gent   Clopton, Richard, gent 1
3770918 1948591 1948591 plaintiff Marten Richard gent   Marten, Richard, gent 2
3770919 1948591 1948591 defendant Wellys John laborer 626571 626571 Wellys, John, of Foxherde, laborer 0
3770920 1948591 1948591 defendant Wellys James weaver 598196 598196 Wellys, James, of Glemesford, Suff, weaver 1
3770921 1948591 1948591 defendant Clerke John husbandman 586081 586081 Clerke, John, of Foxherd, husbandman 2
3770922 1948591 1948591 defendant Hokett John weaver 626571 626571 Hokett, John, of Foxherde, weaver 3
3770923 1948591 1948591 defendant Hede Thomas laborer 626571 626571 Hede, Thomas, of Foxherde, laborer 4
3770924 1948591 1948591 defendant Alowe Clement laborer 626571 626571 Alowe, Clement, of Foxherde, laborer 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.149ms