This function sets the specified KvK API key for the current R session
using Sys.setenv(). The key will be available until the session ends.
Details
The function sets the API key using Sys.setenv(), making
it available for the current session only.
To store your API key permanently across R sessions, add the following line to your .Renviron file:
KVK_API_KEY=l7xxYourActualApiKeyHere1234567890abcdef
You can edit your .Renviron file by running:
usethis::edit_r_environ()
After adding the key, restart R for the changes to take effect.