home / cp40x

names

6 rows where case_id = 2515105

✎ 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
5533752 2515105 2515105 plaintiff Wye William gent 586878 586878 Wye, William, of Teukesbury, gent 0
5533753 2515105 2515105 defendant Hopkyns Evan ap William gent 897226 897226 Hopkyns, Evan ap William, of Peturchurch, Herefs, gent 0
5533754 2515105 2515105 defendant Ranold Walter clerk 599917 599917 Ranold, Walter, of Peturchurch, clerk 1
5533755 2515105 2515105 defendant Baker Ralph husbandman 599917 599917 Baker, Ralph, of Peturchurch, husbandman 2
5533756 2515105 2515105 defendant Baker Walter baker 586208 586208 Baker, Walter, of Hereford, baker 3
5533757 2515105 2515105 defendant ap Robert Richard ap Thomas, of Peturchurch, husbandman   ap Robert, Richard, ap Thomas, of Peturchurch, husbandman 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 9.262ms