home / cp40x

names

8 rows where place_id = 849315

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5125024 2393791 2393791 defendant William John husbandman 849315 849315 William, John, of Trethryn, husbandman 4
5125025 2393791 2393791 defendant Nicoll Thomas cobbler 849315 849315 Nicoll, Thomas, of Trethryn, cobbler 5
5143659 2399279 2399279 defendant William John husbandman 849315 849315 William, John, of Trethryn, husbandman 3
5143660 2399279 2399279 defendant Nicoll Thomas cobbler or shoemaker 849315 849315 Nicoll, Thomas, of Trethryn, cobbler or shoemaker 4
5164807 2405438 2405438 defendant William John husbandman 849315 849315 William, John, of Trethryn, husbandman 3
5164808 2405438 2405438 defendant Nicoll Thomas cobbler 849315 849315 Nicoll, Thomas, of Trethryn, cobbler 4
5178277 2409348 2409348 defendant William John husbandman 849315 849315 William, John, of Trethryn, husbandman 3
5178278 2409348 2409348 defendant Nicoll Thomas cobbler 849315 849315 Nicoll, Thomas, of Trethryn, cobbler 4

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