home / cp40x

names

7 rows where place_id = 643776

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3875883 1982189 1982189 defendant Tresawell Benedict husbandman 643776 643776 Tresawell, Benedict, of Tresawell, husbandman 5
4689887 2262392 2262392 plaintiff Warde Ralph   643776 643776 Warde, Ralph, of Tresawell 0
4715524 2270187 2270187 plaintiff Warde Ralph   643776 643776 Warde, Ralph, of Tresawell 0
5253210 2431099 2431099 defendant Tresawell John gent 643776 643776 Tresawell, John, of Tresawell, gent 0
5534951 2515464 2515464 defendant Luke Roland husbandman 643776 643776 Luke, Roland, of Tresawell, husbandman 1
5538489 2516521 2516521 defendant Laa Thomas husbandman 643776 643776 Laa, Thomas, of Tresawell, husbandman 1
5539357 2516795 2516795 defendant Lea Thomas yeoman 643776 643776 Lea, Thomas, of Tresawell, yeoman 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.904ms