home / cp40x

names

7 rows where place_id = 756318

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4436708 2176222 2176222 defendant Gilberd John   756318 756318 Gilberd, John, of Berghton 0
4544816 2214297 2214297 defendant Wilkynson John   756318 756318 Wilkynson, John, of Berghton 1
4544817 2214297 2214297 defendant (illegible) Adam clerk 756318 756318 _, Adam, of Berghton, clerk 2
4598247 2230689 2230689 plaintiff Sotheby Richard   756318 756318 Sotheby, Richard, of Berghton 0
4676377 2258222 2258222 defendant Prete Robert tailor 756318 756318 Prete, Robert, of Berghton, tailor 2
4734476 2275948 2275948 defendant Lawys John husbandman 756318 756318 Lawys, John, of Berghton, husbandman 2
5610212 2546907 2546907 defendant Clerk John   756318 756318 Clerk, John, of Berghton 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 16.578ms