Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rdbnomics
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dbnomics
rdbnomics
Commits
61b041b7
Commit
61b041b7
authored
4 years ago
by
Sébastien Galais
Browse files
Options
Downloads
Patches
Plain Diff
Update README.
parent
951b75f8
No related branches found
No related tags found
1 merge request
!1
Developement of version 0.6.0
Pipeline
#136922
passed with stage
in 10 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+28
-0
28 additions, 0 deletions
README.md
with
28 additions
and
0 deletions
README.md
+
28
−
0
View file @
61b041b7
...
...
@@ -106,6 +106,34 @@ In the event that you only use the argument `api_link`, you can drop the name an
df1
<-
rdb
(
"https://api.db.nomics.world/v22/series/WB/DB?dimensions=%7B%22country%22%3A%5B%22FR%22%2C%22IT%22%2C%22ES%22%5D%7D&q=IC.REG.PROC.FE.NO&observations=1&format=json&align_periods=1&offset=0&facets=0"
)
```
## Fetch the available datasets of a provider
```
r
# Example with the IMF datasets:
df_datasets
<-
rdb_datasets
(
provider_code
=
"IMF"
)
# Example with the IMF and BDF datasets:
df_datasets
<-
rdb_datasets
(
provider_code
=
c
(
"IMF"
,
"BDF"
))
```
In the event that you only request the datasets for one provider, if you define
`simplify = TRUE`
, then the result will be a
`data.table`
not a named list.
```
r
df_datasets
<-
rdb_datasets
(
provider_code
=
"IMF"
,
simplify
=
TRUE
)
```
## Fetch the possible dimensions of available datasets of a provider
```
r
# Example for the dataset WEO of the IMF:
df_dimensions
<-
rdb_dimensions
(
provider_code
=
"IMF"
,
dataset_code
=
"WEO"
)
```
In the event that you only request the dimensions for one dataset for one
provider, if you define
`simplify = TRUE`
, then the result will be a named list
`data.table`
not a nested named list.
```
r
df_dimensions
<-
rdb_dimensions
(
provider_code
=
"IMF"
,
dataset_code
=
"WEO"
,
simplify
=
TRUE
)
```
## Proxy configuration or connection error `Could not resolve host`
When using the function
`rdb`
, you may come across the following error:
```
r
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment