home / cp40x

names

5 rows where place_id = 614200

✎ 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
3702418 1927015 1927015 defendant Johnsons Robert husbandman 614200 614200 Johnsons, Robert, of St Johns, Cornw, husbandman 1
4224928 2104188 2104188 defendant Lyman Peter merchant 614200 614200 Lyman, Peter, of St Johns, Cornw, merchant 0
4226252 2104652 2104652 defendant Leman Peter merchant 614200 614200 Leman, Peter, of St Johns, Cornw, merchant 0
4227704 2105173 2105173 defendant Lyman or Leyman Peter   614200 614200 Lyman or Leyman, Peter, of St Johns, Cornw, merchat 0
4253583 2114189 2114189 defendant Leman Peter merchant 614200 614200 Leman, Peter, of St Johns, Cornw, merchant 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.526ms