ACER is the R script and documentation for managing data in the ACE Database through R Studio.
Installing ACER
In the console, type install.packages("*/acer_(version-number).tar.gz") – replace * with the full path to the .gz file – please note that R uses / rather than \ for defining the path. After installing, you may need to restart R Studio for the install to work properly.
View the package under the Packages tab, and click on it to view documentation.
Connecting to the ACE database and authenticating a user
In the ACER documentation section, click on acer_connect to see instructions.
The following information will need to be filled in for each R script each time:
acer_connect(“host”, “site”, “user”, “token”) – where host is your wildmap instance, site is the name of your site or the magic number (which is an alias for a site), user is your email address that you use for logging in, and token can be found by following the instructions below:
Go to https://*/token.html - replace * with the URL for your Wildmap instance. Complete the details and then copy and paste token into script.
Please note that both site and user are case sensitive so please ensure that you use the exact format that we send to you when sites and users are created.
If an authenticated connection is established, it will return TRUE. If the server is not available, or authentication fails, FALSE is returned, or an error message is printed. Please let us know what the error message is if it fails.
Questions or problems?
Get in touch and we'll help you get set up.