home / cp40x

names

6 rows where place_id = 588691

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3595294 1866160 1866160 defendant Burgh John, junior gent 588691 588691 Burgh, John, junior, of Est Haukeswell, gent 0
3595295 1866160 1866160 defendant Dent George husbandman 588691 588691 Dent, George, of Est Haukeswell, husbandman 1
5185694 2411564 2411564 defendant Smyth John smith 588691 588691 Smyth, John, of East Haukeswell, smith 2
5185695 2411564 2411564 defendant Waton John husbandman 588691 588691 Waton, John, of East Haukeswell, husbandman 3
5185696 2411564 2411564 defendant Wright John husbandman 588691 588691 Wright, John, of East Haukeswell, husbandman 4
5331466 2454490 2454490 defendant Stolp John husbandman 588691 588691 Stolp, John, of Est Haukeswell, 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 16.714ms