home / cp40x

names

5 rows where place_id = 648470

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
3901752 1990809 1990809 defendant Barnwell William husbandman 648470 648470 Barnwell, William, of Castor, husbandman 0
3987416 2020247 2020247 defendant Glawson alias Slawson Thomas laborer 648470 648470 Glawson alias Slawson, Thomas, of Castor, laborer 0
4320237 2137179 2137179 defendant Fenne William husbandman 648470 648470 Fenne, William, of Castor, husbandman 0
4336437 2142478 2142478 defendant Wilbore Richard yeoman 648470 648470 Wilbore, Richard, of Castor, yeoman 0
5130434 2395391 2395391 defendant Edens John   648470 648470 Edens, John, of Castor 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 14.28ms