Closed watronfire closed 2 years ago
Hey Nate,
I tested the function on R 4.0.2 macOS Catalina but I was unable to replicate the error. The download takes about 1 min. Is the progress bar not showing up for you at all?
> df <- getAdmn2ByState("California")
downloading [==============================] 100% eta: 0s
> nrow(df)
[1] 51625
No download bar, just that error after a few seconds.
Hi Nate, could you try uninstalling the progress
package, and then doing a fresh install of outbreakinfo
? Since it looks like the error is coming from that package. I was also unable to reproduce the error.
Hi Manar,
The error still remains after uninstalling progress
and reinstalling outbreakinfo
. But I do believe that it is line 103 of getEpiData.R
that's causing the issue. I was able to rewrite the getEpiData
function without the progress bar functionality, and that returned the data.frame as expected.
Please let me know if I should close the issue, as I have the functionality I need.
I'm trying to get daily cases and deaths for all counties in California, and it seems like the function
getAdmn2ByState
should do what I want. However the functions fails with the following error if the state name is correct.After reinstalling the package from the main branch here are the inputs I've tried:
Here is the output of my
sessionInfo()
if it helps: