It is unlikely that the OP $data$ ever worked for 2 reasons. First, in the definition $data$, the "LastValue" property of a TimeSeries object is called returning an Integer
in the second column. Integer
has no "LastValue" property that is subsequently called in the $usaStateXXX$ functions.
data[[1, 2]] // Normal // Head
(* Integer *)
Second, the definition of $data$ is not transforming columns, rather it is returning a new list of lists of functions applied to columns. This can be seen in the documentation for Dataset
under the details section shown here.

Inspection of $data$, shows that it is a list of lists with no column names.
data

If it is desired for the $usaStateXXX$ functions to work, just build $data$ by providing the column keys as shown:
data = ResourceData["Epidemic Data for Novel Coronavirus COVID-19",
"USStates"][All, {"AdministrativeDivision", "ConfirmedCases"}]
Extended Response to flinty's Comment
I am a Dataset
novice versus a Dataset
jock. My main motivation to answering MSE questions is to build MMA skills in areas that I am deficient, so any help is welcome.
In this case, let's look at a simple dataset from the documentation.
dataset = Dataset[{
<|"a" -> 1, "b" -> "x", "c" -> {1}|>,
<|"a" -> 2, "b" -> "y", "c" -> {2, 3}|>,
<|"a" -> 3, "b" -> "z", "c" -> {3}|>,
<|"a" -> 4, "b" -> "x", "c" -> {4, 5}|>,
<|"a" -> 5, "b" -> "y", "c" -> {5, 6, 7}|>,
<|"a" -> 6, "b" -> "z", "c" -> {}|>}]
Now, let's examine three ways to operate on the dataset and see what it returns.
1. Take Specific Columns of the Dataset Using Keys
If we want to take specific columns of the dataset using keys, then it will return a list of associations as can be seen by the dataset formatting or the Normal
representation.
dataset[All, {"a", "b"}]
dataset[All, {"a", "b"}] // Normal

2. Apply a List of Functions to All Rows (OP Case)
If we apply a list of anonymous functions to the dataset, then it will return a list of lists. As such, it lost its column headings so that it cannot be used in subsequent operations. This is similar to how $data$ was constructed in the OP.
dataset[All, {#a, #b} &]
dataset[All, {#a, #b} &] // Normal

I would say that this is "unlikely" to be a new behavior in dataset, but I am novice.
3. Apply Functions to Columns Returning Dataset with Column Names
To apply functions to columns and retain or create new column headings, we need to use associations as shown in the Dataset Documentation.
dataset[All, <|"a'" -> #a, "b'" -> #b|> &]
dataset[All, <|"a'" -> #a, "b'" -> #b|> &] // Normal

Conclusion
Independent of whether there has been a change in the ResourceFunction
, operating on the data like case 2 will return a dataset without column headers (at least for my version 12.1.1 for Microsoft Windows (64-bit) (June 19, 2020)
). The subsequent functions rely on those column headers. Therefore, I considered it "unlikely" that it worked. Someone would have to look at another version to see if the operation returned a list of associations, but then one would have to contend with the Integer
type not having a "LastValue" property as in the TimeSeries
object.
data
. Can you give a source or an example? $\endgroup$ – MarcoB Jun 27 '20 at 16:37