home / cp40x

names

5 rows where case_id = 2404948

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5163133 2404948 2404948 plaintiff Welles John     Welles, John 0
5163134 2404948 2404948 plaintiff Welles Joan formerly wife of John Chaumbre   Joan, his wife, formerly wife of John Chaumbre 1
5163135 2404948 2404948 defendant Mountagu alias Ladde Richard yeoman 600590 600590 Mountagu alias Ladde, Richard, of Hangyng Houghton, yeoman 0
5163136 2404948 2404948 defendant Gyllam Simon husbandman 600590 600590 Gyllam, Simon, of Hangyng Houghton, husbandman 1
5163137 2404948 2404948 defendant Lowys John esq 586848 586848 Lowys, John, of Northampton, esq 2

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 11.423ms