home / cp40x

names

5 rows where place_id = 775342

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4621905 2237831 2237831 defendant Hawys John, sen   775342 775342 Hawys, John, sen, of Chelneston 3
4652003 2246562 2246562 plaintiff atte Brook Simon   775342 775342 atte Brook, Simon, of Chelneston 0
4663501 2250059 2250059 defendant Page William ploughman 775342 775342 Page, William, of Chelneston, ploughman 3
5101843 2386960 2386960 defendant Mayll Richard husbandman 775342 775342 Mayll, Richard, of Chelneston, husbandman 2
5101844 2386960 2386960 defendant Richard William husbandman 775342 775342 Richard, William, of Chelneston, husbandman 3

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