home / cp40x

names

6 rows where place_id = 611684

✎ 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
3689582 1922899 1922899 defendant Broun John yeoman 611684 611684 Broun, John, of Whygton, yeoman 1
3690688 1923253 1923253 defendant Cleris William   611684 611684 Cleris, William, of Whygton, shepherd 0
3727132 1934757 1934757 defendant Clerys William   611684 611684 Clerys, William, of Whygton, shepherd 1
3846435 1972439 1972439 defendant Rogerson Ralph yeoman 611684 611684 Rogerson, Ralph, of Whygton, yeoman 0
4676600 2258299 2258299 defendant Cleye Thomas laborer 611684 611684 Cleye, Thomas, of Whygton, laborer 2
4694298 2263715 2263715 defendant Pekke Thomas husbandman 611684 611684 Pekke, Thomas, of Whygton, husbandman 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.11ms