dw_list_folders: Lists all folders

View source: R/dw_list_folders.R

dw_list_foldersR Documentation

Lists all folders

Description

\lifecycle

maturing Returns all existing folders

Usage

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.

Author(s)

Benedict Witzenberger

Examples


## 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


munichrocker/DatawRappr documentation built on March 20, 2024, 6:08 a.m.