Maturing lifecycle Returns all existing folders

dw_list_folders(api_key = "environment")

Arguments

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 datawrapper_auth.

Value

Returns a large list of all folders, created by user or team, which then includes all folders with their designated charts.

Note

This function builds a body for a API-call to the Datawrapper-API, and retrieves all folders a user or team have created.

Examples

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