ropensci / EDIutils

An API Client for the Environmental Data Initiative Repository
https://docs.ropensci.org/EDIutils/
Other
10 stars 2 forks source link

LTER affiliation no longer valid #18

Closed srearl closed 3 years ago

srearl commented 3 years ago

Hi @clnsmth - I believe that since, @servilla changed the LDAP, that LTER as an option for the affiliation argument is no longer valid and should be removed. Below is a relevant snippet from api_evaluate_data_package but this may be relevant in other places within the package as well.

#' @param affiliation
#'     (character) Affiliation corresponding with the user.id argument supplied
#'     above. Can be: 'LTER' or 'EDI'.
clnsmth commented 3 years ago

Many thanks for reporting this issue @srearl. I have updated the authentication methods to redirect "LTER" affiliations to "EDI" behind the scenes so backwards compatibility is maintained (see version 1.3.0).