When trying to pull certain data, such as the Treasury Maturity Rates from the FRED API, I receive the following error:
as.data.frame(fred$series.observations(series_id = 'GS10'))
Error setting the option for # 3 (status = 43) (enum = 81) (value = 0x7f85745483f0):
A libcurl function was given a bad argument CURLOPT_SSL_VERIFYHOST no longer
supports 1 as value!
When trying to pull certain data, such as the Treasury Maturity Rates from the FRED API, I receive the following error: