home / cp40x

names

7 rows where case_id = 2323861

✎ 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
4890762 2323861 2323861 plaintiff Curteys John   608371 608371 Curteys, John, of Westle 0
4890763 2323861 2323861 defendant Salman Roger husbandman 596622 596622 Salman, Roger, of Fulburne, husbandman 0
4890764 2323861 2323861 defendant Aston John husbandman 596083 596083 Aston, John, of Ditton, husbandman 1
4890765 2323861 2323861 defendant Kosset or Kesset William yeoman 596083 596083 Kosset or Kesset, William, of Ditton, yeoman 2
4890766 2323861 2323861 defendant Aylewyn John husbandman 585901 585901 Aylewyn, John, of Burwell, husbandman 3
4890767 2323861 2323861 defendant Jekell John husbandman 596622 596622 Jekell, John, of Fulburne, husbandman 4
4890768 2323861 2323861 defendant Meleman John   885776 885776 Meleman, John, of Anglesey, shepherd 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 14.288ms