home / cp40x

names

8 rows where place_id = 697231

✎ 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
4118811 2067009 2067009 defendant Smythe Robert husbandman 697231 697231 Smythe, Robert, of Obthorpe, husbandman 0
4149530 2077962 2077962 defendant Ward Thomas yeoman 697231 697231 Ward, Thomas, of Obthorpe, yeoman 1
4173438 2086166 2086166 defendant Smyth Robert husbandman 697231 697231 Smyth, Robert, of Obthorpe, husbandman 2
4236007 2108168 2108168 defendant Olyver William husbandman 697231 697231 Olyver, William, of Obthorpe, husbandman 2
4337894 2142997 2142997 defendant Standige Richard husbandman 697231 697231 Standige, Richard, of Obthorpe, husbandman 0
4355826 2149256 2149256 defendant Thurleby Thomas yeoman 697231 697231 Thurleby, Thomas, of Obthorpe, yeoman 0
4361232 2151180 2151180 defendant Standye Richard husbandman 697231 697231 Standye, Richard, of Obthorpe, husbandman 0
4379339 2157692 2157692 defendant Weldon Salamon husbandman 697231 697231 Weldon, Salamon, of Obthorpe, 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 10.721ms