home / cp40x

names

7 rows where place_id = 645331

✎ 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
3628384 1903743 1903743 defendant Segrave John   645331 645331 Segrave, John, of Rotherby, wright 2
3885043 1985258 1985258 defendant Shyres William husbandman 645331 645331 Shyres, William, of Rotherby, husbandman 0
4509891 2203578 2203578 defendant G_ William   645331 645331 G_, William, of Rotherby 1
5055249 2373152 2373152 defendant Bret John yeoman 645331 645331 Bret, John, of Rotherby, yeoman 0
5502234 2505623 2505623 defendant Albert John yeoman 645331 645331 Albert, John, of Rotherby, yeoman 0
5532823 2514813 2514813 defendant Mody Robert husbandman 645331 645331 Mody, Robert, of Rotherby, husbandman 0
5600076 2534909 2534909 defendant Mody Robert husbandman 645331 645331 Mody, Robert, of Rotherby, 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 6.839ms