View source: R/dw_list_folders.R
dw_list_folders | R Documentation |
maturing Returns all existing folders
dw_list_folders(api_key = "environment")
api_key |
Optional. A Datawrapper-API-key as character string. Defaults to "environment" - tries to automatically retrieve the key that's stored in the .Reviron-file by |
Returns a large list of all folders, created by user or team, which then includes all folders with their designated charts.
This function builds a body for a API-call to the Datawrapper-API, and retrieves all folders a user or team have created.
Benedict Witzenberger
## Not run: dw_list_folders() # uses the preset key in the .Renviron-file
## Not run: response_list <- dw_list_folders() # save the result to a variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.