powered by
Function to set you API Key to the R environment when starting using newsanchor package. Attention: You should only execute this functions once.
newsanchor
set_api_key(path = stop("Please specify a path."))
character. Path where the environment is stored. Default is the normalized path.
None.
# NOT RUN { set_api_key(tempdir()) # you will be prompted to enter your API key. # }
Run the code above in your browser using DataLab