home / cp40x

names

5 rows where place_id = 637062

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3834163 1968627 1968627 defendant Rowe John yeoman 637062 637062 Rowe, John, of Milbroke, Cornw, yeoman 0
4011624 2028900 2028900 defendant Harry John, senior husbandman 637062 637062 Harry, John, senior, of Milbroke, Cornw, husbandman 5
5062032 2375202 2375202 defendant Hoper Hugh husbandman 637062 637062 Hoper, Hugh, of Milbroke, Cornw, husbandman 0
5063502 2375608 2375608 defendant Hoper Hugh husbandman 637062 637062 Hoper, Hugh, of Milbroke, Cornw, husbandman 0
5075715 2379239 2379239 defendant Peverell John merchant 637062 637062 Peverell, John, of Milbroke, Cornw, merchant 1

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.685ms