home / cp40x

names

8 rows where place_id = 853298

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4830331 2305521 2305521 defendant Middelton John esq 853298 853298 Middelton, John, of Belsowe, Northumberland, esq 4
4830337 2305522 2305522 defendant Middelton John esq 853298 853298 Middelton, John, of Belsowe, Northumberland, esq 4
5012149 2360402 2360402 defendant Middelton John esq 853298 853298 Middelton, John, of Belsowe, Northumberland, esq 0
5149123 2400872 2400872 defendant Middilton John   853298 853298 Middilton, John, of Belsowe, Northumberland, knight 0
5168163 2406401 2406401 defendant Middilton John   853298 853298 Middilton, John, of Belsowe, Northumberland, knight 0
5168167 2406402 2406402 defendant Middilton John   853298 853298 Middilton, John, of Belsowe, Northumberland, knight 0
5183998 2411052 2411052 defendant Middelton John   853298 853298 Middelton, John, of Belsowe, Northumberland, knight 0
5381570 2469785 2469785 defendant Mydelton John   853298 853298 Mydelton, John, of Belsowe, Northumberland, knight 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 12.068ms