home / cp40x

names

6 rows where case_id = 1931228

✎ 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
3715796 1931228 1931228 plaintiff Campyon John     Campyon, John 0
3715797 1931228 1931228 defendant Tyler John laborer 616724 616724 Tyler, John, of Netyswell, laborer 0
3715798 1931228 1931228 defendant Sewerer Thomas glover 591820 591820 Sewerer, Thomas, of Harlowe, glover 1
3715799 1931228 1931228 defendant Shakyll Thomas tiler 591820 591820 Shakyll, Thomas, of Harlowe, tiler 2
3715800 1931228 1931228 defendant Holgay John   591820 591820 Holgay, John, of Harlowe, wheelwright 3
3715801 1931228 1931228 defendant Hutt John, junior carpenter 593619 593619 Hutt, John, junior, of Sheryng, carpenter 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 16.42ms