Accessing the Dimensions API using R and the Dimensions R package