home / cp40x

names

5 rows where place_id = 663812

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3970315 2014214 2014214 defendant Harris Thomas yeoman 663812 663812 Harris, Thomas, of Bishops Lavyngton, Wilts, yeoman 0
3994520 2022788 2022788 defendant Peirson John tucker 663812 663812 Peirson, John, of Bishops Lavyngton, Wilts, tucker 0
4889595 2323543 2323543 defendant Ledere William husbandman 663812 663812 Ledere, William, of Bishops Lavyngton, Wilts, husbandman 0
4960254 2345041 2345041 defendant Ledere William gent 663812 663812 Ledere, William, of Bishops Lavyngton, Wilts, gent 2
5483296 2499950 2499950 defendant Floure William clothman 663812 663812 Floure, William, of Bishops Lavyngton, Wilts, clothman 0

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