home / cp40x

names

6 rows where place_id = 789852

✎ 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
4715610 2270208 2270208 defendant Gatyn Andrew husbandman 789852 789852 Gatyn, Andrew, of Godestone, husbandman 1
4715611 2270208 2270208 defendant Harlynge William husbandman 789852 789852 Harlynge, William, of Godestone, husbandman 2
4741422 2277985 2277985 defendant Lambe John yeoman 789852 789852 Lambe, John, of Godestone, yeoman 3
5030325 2365742 2365742 defendant Moraunt William butcher 789852 789852 Moraunt, William, of Godestone, butcher 0
5062346 2375303 2375303 defendant Milton William butcher 789852 789852 Milton, William, of Godestone, butcher 0
5068223 2376999 2376999 defendant Moraunt William butcher 789852 789852 Moraunt, William, of Godestone, butcher 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 15.914ms