Getting the following error:
Error in neonOS::removeDups(data = apc_taxonomyRaw, variables = variables_20072, :
Input data appear to be the basic download package. The expanded data package is required for removeDups() to identify all duplicates correctly.
Even though we are downloading the expanded download package
Reproducible code:
# Set date variables
startDate_checked = "2021-07"
endDate_checked = "2021-07"
# Load portal data
apc_allTabs <- loadByProduct(
dpID='DP1.20072.001',
check.size=F,
site = "all",
package='expanded',
startdate = startDate_checked,
enddate = endDate_checked,
token = Sys.getenv('NEON_PAT'))
list2env(apc_allTabs, envir=.GlobalEnv)
Getting the following error:
Even though we are downloading the expanded download package
Reproducible code: