dw_list_folders(api_key = "environment")
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.
if (FALSE) dw_list_folders() # uses the preset key in the .Renviron-file if (FALSE) response_list <- dw_list_folders() # save the result to a variable