home / cp40x

names

5 rows where place_id = 595931

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3622428 1874550 1874550 defendant Warberton Thomas clothmaker 595931 595931 Warberton, Thomas, of Nelond, clothmaker 2
4502966 2201497 2201497 defendant Broun Robert   595931 595931 Broun, Robert, of Nelond, parson 4
4808288 2298770 2298770 defendant Belward John husbandman 595931 595931 Belward, John, of Nelond, husbandman 1
4996063 2355677 2355677 defendant Servant Robert laborer 595931 595931 Servant, Robert, of Nelond, laborer 1
5275742 2437969 2437969 defendant Smyth James clothmaker 595931 595931 Smyth, James, of Nelond, clothmaker 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 13.23ms