-
Notifications
You must be signed in to change notification settings - Fork 2
Getting started
Mehmood Asghar edited this page Sep 2, 2020
·
1 revision
To use the API, you will need an API key. If you don't have an API key, you can login to your NADA catalog, go to the profile page and generate a key.
To use the package, use library function to load the nadar package
library(nadar)
nadar::set_api_key("d839d838d838d")
nadar::set_api_url("http://example.com/index.php/api/")
To see if you have setup the API key and API URL correctly, make a basic GET
call. This should return a list of datasets in the catalog.
datasets<-nadar::datasets()