home / cp40x

names

10 rows where place_id = 617346

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3719010 1932221 1932221 defendant Townesend Robert clerk 617346 617346 Townesend, Robert, of Sutton, Derbs, clerk 1
3808224 1960451 1960451 defendant Leke Thomas gent 617346 617346 Leke, Thomas, of Sutton, Derbs, gent 1
3817208 1963296 1963296 defendant Leke Thomas gent 617346 617346 Leke, Thomas, of Sutton, Derbs, gent 0
3983733 2018954 2018954 defendant Balye Thomas gent 617346 617346 Balye, Thomas, of Sutton, Derbs, gent, servant to Sir Francis Lekke, of Derbs, gent 0
4093452 2057977 2057977 defendant Leake Francis gent 617346 617346 Leake, Francis, of Sutton, Derbs, gent 0
4274416 2120997 2120997 defendant Leeke Francis esq 617346 617346 Leeke, Francis, of Sutton, Derbs, esq 1
4296175 2128730 2128730 defendant Leake Francis esq 617346 617346 Leake, Francis, of Sutton, Derbs, esq 0
4679257 2259120 2259120 defendant Melburn William gent 617346 617346 Melburn, William, of Sutton, Derbs, gent 0
4737010 2276704 2276704 defendant Melborne William gent 617346 617346 Melborne, William, of Sutton, Derbs, gent 0
4737011 2276704 2276704 defendant mapulton Richard husbandman 617346 617346 mapulton, Richard, of sutton, Derbs, husbandman 1

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