home / cp40x

names

6 rows where case_id = 1927620

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3704223 1927620 1927620 plaintiff Fleccher John     Fleccher, John 0
3704224 1927620 1927620 defendant Watkyns John husbandman 586697 586697 Watkyns, John, of Shrewsbury, husbandman 0
3704225 1927620 1927620 defendant Foxhall John tanner 588127 588127 Foxhall, John, of Wolverhampton, tanner 1
3704226 1927620 1927620 defendant Baker Benedict husbandman 596878 596878 Baker, Benedict, of Wylnall, husbandman 2
3704227 1927620 1927620 defendant Mounford Walter   602351 602351 Mounford, Walter, of Stretton, minstrel 3
3704228 1927620 1927620 defendant Smyth William smith 586122 586122 Smyth, William, of Dudley, Worcs, smith 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.069ms