home / cp40x

names

9 rows where case_id = 1980969

✎ 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
3872322 1980969 1980969 plaintiff Beynton Edward knight   Beynton, Edward, knight 0
3872323 1980969 1980969 defendant Bemerton James yeoman 586859 586859 Bemerton, James, of Salisbury, yeoman 0
3872324 1980969 1980969 defendant Cay John laborer 586859 586859 Cay, John, of Salisbury, laborer 1
3872325 1980969 1980969 defendant Horner Edward laborer 586859 586859 Horner, Edward, of Salisbury, laborer 2
3872326 1980969 1980969 defendant Holwey William laborer 586859 586859 Holwey, William, of Salisbury, laborer 3
3872327 1980969 1980969 defendant Felde John laborer 603897 603897 Felde, John, of Mylford, laborer 4
3872328 1980969 1980969 defendant Preston Richard laborer 643227 643227 Preston, Richard, of Grymstede, laborer 5
3872329 1980969 1980969 defendant Preston Walter yeoman 643227 643227 Preston, Walter, of Grymstede, yeoman 6
3872330 1980969 1980969 defendant Hannam John yeoman 643227 643227 Hannam, John, of Grymstede, yeoman 7

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.927ms