christophergandrud / christophergandrud/imfr

Problems retreiving GFS (GFSCOFOG) data

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
48
Forks
5
PR merge metrics
No merged PRs in 30d

Description

What is the problem with this query? I get the two types of errors.

```
> imf_dataset(database_id="GFSCOFOG",cofog_function="GF0402")
Request failed [500]. Retrying in 1 seconds...
Error in fun(URL = "http://dataservices.imf.org/REST/SDMX_JSON.svc/CompactData/GFSCOFOG/....GF0402", :
API request failed. Status: '500', Content: 'There is an issue while retrieving the data, please check your query or contact an administrator.'

```

```
> imf_dataset(database_id="GFSCOFOG",cofog_function="GF0402")
Request failed [500]. Retrying in 1 seconds...
Error in curl::curl_fetch_memory(url, handle = handle) :
OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0

```

Would appreciate any advice.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the imf_dataset(database_id="GFSCOFOG", cofog_function="GF0402") query and compare the two reported failures. Inspect the package entry point and the IMF API response to determine whether the problem is query construction, error handling, or an external service issue; done means the cause and a reproducible resolution are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.