worldbank / pipr

R client to the PIP API
https://worldbank.github.io/pipr
Other
12 stars 4 forks source link

get_dictionary() and the corresponding get_aux("dictionary") fails. #42

Closed shahronak47 closed 1 year ago

shahronak47 commented 2 years ago

I'm using packageVersion('pipr') 0.0.4 where get_dictionary() fails -

pipr::get_dictionary()

Error in data.table::setnames(df, old = c("survey_year", "reporting_year",  : 
  Items of 'old' not found in column names: [survey_year, reporting_year, reporting_pop, reporting_gdp, reporting_pce, pce_data_level]. Consider skip_absent=TRUE.
In addition: Warning message:
Setting row names on a tibble is deprecated. 

The same is the case for pipr::get_aux("dictionary")

pipr::get_aux("dictionary")

Error in data.table::setnames(df, old = c("survey_year", "reporting_year",  : 
  Items of 'old' not found in column names: [survey_year, reporting_year, reporting_pop, reporting_gdp, reporting_pce, pce_data_level]. Consider skip_absent=TRUE.
In addition: Warning message:
Setting row names on a tibble is deprecated. 

cc : @tonyfujs

tonyfujs commented 1 year ago

closed by pr #43