USAID-OHA-SI / grabr

OHA/SI APIs package
https://usaid-oha-si.github.io/grabr/
Other
1 stars 2 forks source link

Redundant output #36

Closed achafetz closed 11 months ago

achafetz commented 1 year ago

With the new addition of adding the query url and response status, the user is bombarded with info they don't need/can't use.

devtools::load_all()

#test: Clean up url trailing slash
get_outable(glamr::datim_user(), glamr::datim_pwd())

image

I recommend removing the query url and response status from datim_execute_query() or at a minium, supressing these print messages for this function.

https://github.com/USAID-OHA-SI/grabr/blob/145258ffa5abcbb262e1c232da521cd9cba69b92/R/extract_datim.R#L376-L377