home / cp40x

names

10 rows where place_id = 689831

✎ 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
4082142 2053919 2053919 defendant Hebden John tanner 689831 689831 Hebden, John, of Pickering, tanner 0
4090791 2056995 2056995 defendant Hebden John tanner 689831 689831 Hebden, John, of Pickering, tanner 0
4277163 2121945 2121945 defendant Ripley John yeoman 689831 689831 Ripley, John, of Pickering, yeoman 0
4277803 2122161 2122161 defendant Johnson William gent 689831 689831 Johnson, William, of Pickering, gent 0
4309733 2133559 2133559 defendant Lemyng Robert gent 689831 689831 Lemyng, Robert, of Pickering, gent 0
4313816 2134939 2134939 defendant Peacock Thomas husbandman 689831 689831 Peacock, Thomas, of Pickering, husbandman 0
4384973 2159664 2159664 defendant Hutchinson George yeoman 689831 689831 Hutchinson, George, of Pickering, yeoman 2
4384974 2159664 2159664 defendant Corner John husbandman 689831 689831 Corner, John, of Pickering, husbandman 3
4397563 2163763 2163763 defendant Wheatley George yeoman 689831 689831 Wheatley, George, of Pickering, yeoman 1
4699793 2265379 2265379 defendant Dobson Alan husbandman 689831 689831 Dobson, Alan, of Pickering, 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 20.995ms