home / cp40x

names

6 rows where case_id = 2530950

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5586963 2530950 2530950 plaintiff Marsshall Robert     Marsshall, Robert 0
5586964 2530950 2530950 defendant Roper John husbandman 592500 592500 Roper, John, of Horseley, husbandman 0
5586965 2530950 2530950 defendant Smyth Thomas yeoman 770861 770861 Smyth, Thomas, of Wykesworth, yeoman 1
5586966 2530950 2530950 defendant Halle John   604686 604686 Halle, John, of Holbroke, scythe grinder 2
5586967 2530950 2530950 defendant Mowbrey John miner 598843 598843 Mowbrey, John, of Bonsale, miner 3
5586968 2530950 2530950 defendant Wodhouse William collier 590496 590496 Wodhouse, William, of Pentryche, collier 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 17.964ms