set_url | R Documentation |
This function sets the 'Harmony' API URL to be used in the package. By default, it uses the production 'Harmony' API ('https://api.harmonydata.ac.uk'), but you can override it by providing a different URL.
set_url(harmony_url = "https://api.harmonydata.ac.uk")
harmony_url |
The 'Harmony' API URL to be set. (default: 'https://api.harmonydata.ac.uk') |
The pkg.globals$url
variable is a global variable that holds the 'Harmony' API URL
to be used in the package. Once you set the URL using this function, it will be
used in all the relevant functions within the package.
No return value, called for side effects.
Ulster University [cph]
set_url('https://staging.harmonydata.org')
set_url() # Will set the URL back to the default 'https://api.harmonydata.ac.uk'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.