home / cp40x

names

7 rows where case_id = 2313571

✎ 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
4856998 2313571 2313571 plaintiff Berkeley James knight   Berkeley, James, knight 0
4856999 2313571 2313571 defendant Baggepathe Richard husbandman 813528 813528 Baggepathe, Richard, of Erdecote, Alveston, husbandman 0
4857000 2313571 2313571 defendant Heynes John husbandman 813528 813528 Heynes, John, of Erdecote, Alveston, husbandman 1
4857001 2313571 2313571 defendant Broune William baker 611162 611162 Broune, William, of Tederyngton, baker 2
4857002 2313571 2313571 defendant Lynche William husbandman 813529 813529 Lynche, William, of Stydecote, husbandman 3
4857003 2313571 2313571 defendant Whyte William husbandman 592989 592989 Whyte, William, of Thornebury, husbandman 4
4857004 2313571 2313571 defendant Skarlet Thomas husbandman 611162 611162 Skarlet, Thomas, of Tederyngton, husbandman 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 12.792ms