You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys,
We're trying to get data from Eurostat package.
After following the CRAN instructions of suggested library packages and vignettes, it is still showing the same error.
Here is the code:
id<- search_eurostat('Energy technologies patent applications to the EPO by priority year', type='dataset')$code[1]
Error: 'cols' is not an exported object from 'namespace:readr'
Also tried using the code available on data set details:
dat<- get_eurostat('pat_ep_nrgpct')
Error: 'cols' is not an exported object from 'namespace:readr'
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Two quick observations. Your search_eurostat returns an empty data frame (it doesn't find any data sets). So if you try to select the 1st row of the code column. You won't get anything.
So try id <- search_eurostat('energy', type = 'dataset')
That being said, I ran the second line of code and got the data.
The error you are getting means that the version of the readr package you have doesn't have a needed function called cols. This is probably because your version of the package is out of date. I would suggest updating all of your packages and re-running it. In RStudio:
Hey guys,
We're trying to get data from Eurostat package.
After following the CRAN instructions of suggested library packages and vignettes, it is still showing the same error.
Here is the code:
Error: 'cols' is not an exported object from 'namespace:readr'
Also tried using the code available on data set details:
Error: 'cols' is not an exported object from 'namespace:readr'
Thanks in advance!
The text was updated successfully, but these errors were encountered: