home / cp40x

names

6 rows where place_id = 594312

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3615533 1872498 1872498 defendant Frere William husbandman 594312 594312 Frere, William, of Chydlegh, husbandman 1
3615583 1872513 1872513 defendant Frere William husbandman 594312 594312 Frere, William, of Chydlegh, husbandman 0
5024005 2363931 2363931 defendant Melbury John tucker 594312 594312 Melbury, John, of Chydlegh, tucker 4
5239951 2427260 2427260 defendant Jamys John baker 594312 594312 Jamys, John, of Chydlegh, baker 3
5394779 2473575 2473575 defendant Herne William   594312 594312 Herne, William, of Chydlegh 0
5408019 2477374 2477374 defendant Herne William baker 594312 594312 Herne, William, of Chydlegh, baker 0

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.161ms