home / cp40x

names

6 rows where place_id = 771198

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4575631 2223889 2223889 defendant Curteys Thomas   771198 771198 Curteys, Thomas, of Great Gyddyng 0
4810191 2299332 2299332 defendant Bere John tailor 771198 771198 Bere, John, of Great Gyddyng, tailor 0
4810923 2299533 2299533 defendant Smyth John husbandman 771198 771198 Smyth, John, of Great Gyddyng, husbandman 4
5044218 2369899 2369899 defendant Wrighte Robert husbandman 771198 771198 Wrighte, Robert, of Great Gyddyng, husbandman 1
5044219 2369899 2369899 defendant Wrighte John husbandman 771198 771198 Wrighte, John, of Great Gyddyng, husbandman 2
5611382 2547291 2547291 defendant Haukyn John   771198 771198 Haukyn, John, of Great Gyddyng 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 7.458ms