home / cp40x

names

6 rows where case_id = 2271085

✎ 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
4718367 2271085 2271085 plaintiff Baker Richard     Baker, Richard 0
4718368 2271085 2271085 defendant Rusley William husbandman 585945 585945 Rusley, William, of Pershore, husbandman 0
4718369 2271085 2271085 defendant Crokes John husbandman 613341 613341 Crokes, John, of Upton on Severn, husbandman 1
4718370 2271085 2271085 defendant Hulle Simon   790405 790405 Hulle, Simon, of Birlyngton, plough man 2
4718371 2271085 2271085 defendant Knappe John butcher 585945 585945 Knappe, John, of Pershore, butcher 3
4718372 2271085 2271085 defendant Denys Richard tailor 585945 585945 Denys, Richard, of Pershore, tailor 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 15.628ms