home / cp40x

names

8 rows where case_id = 2472169

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5389879 2472169 2472169 plaintiff Leke John   595741 595741 Leke, John, of Nuneton 0
5389880 2472169 2472169 plaintiff Bonde William   595741 595741 Bonde, William, of Nuneton 1
5389881 2472169 2472169 plaintiff Astell Richard   595741 595741 Astell, Richard, of Nuneton 2
5389882 2472169 2472169 defendant Shiref Thomas husbandman 867254 867254 Shiref, Thomas, of Great Petelyng, Leics, husbandman 0
5389883 2472169 2472169 defendant Warde Thomas husbandman 810913 810913 Warde, Thomas, of Great Petelyng, husbandman 1
5389884 2472169 2472169 defendant Clerk Richard husbandman 810913 810913 Clerk, Richard, of Great Petelyng, husbandman 2
5389885 2472169 2472169 defendant Rowell William husbandman 810913 810913 Rowell, William, of Great Petelyng, husbandman 3
5389886 2472169 2472169 defendant Pepe John husbandman 810913 810913 Pepe, John, of Great Petelyng, husbandman 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 12.322ms