rdhs
rdhs copied to clipboard
API Client and Data Munging for the Demographic and Health Survey Data
In `read_dhs_flat()`, replace `iotools::input.file()` with `vroom::vroom()` for reading fixed-width text files. `vroom::vroom` is _much faster_ and memory efficient. Makes all parsing faster and improves ability to read very large datasets...
Hi Jeff and OJ! Hope you are both well. I’ve recently been trying to use rdhs to download the Pregnancies Recode (GR) and Pregnancy and Postnatal Care Recode (NR) datasets...
Hello I have a few questions on `rbind_labelled()`function. I saw this https://github.com/ropensci/rdhs/issues/9 though I have not been able to figure out my issues yet. 1) I'm using both male and...
Session Info ```r R version 4.2.3 (2023-03-15 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 22621) Matrix products: default locale: [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 LC_NUMERIC=C...
For @OJWatson -- I have just been getting this error: ```r Browse[4]> tmp
Hello, I am getting the following error whenever I try to get a dataset (it worked yesterday and has worked for months prior so there seems to be something new...
Session Info ```r - Session info ------------------------------------------------------ setting value version R version 4.2.2 (2022-10-31 ucrt) os Windows Server x64 (build 17763) system x86_64, mingw32 ui RStudio language (EN) collate English_United...
Session Info ```r ``` If API cache is out of date and you need to download a new boundary you get stuck as there is no way to force this...
Session Info ```r ``` Below it would be better to explain which datasets are causing issues etc resulting from the available_datasets call: 
Session Info ```r ``` 1. Check URL that is blocking against test suite. countryIds=AO%2CBJ%2CBF%2CKH%2CCM%2CCI%2CCD%2CET%2CGH%2CGN%2CKE%2CLB%2CMD%2CMW%2CML%2CMZ%2CMM%2CNI%2CNG%2CRW%2CSN%2CSL%2CTZ%2CTH%2CUG%2CZM%2CZW&indicatorIds=RH_ANCP_W_SKP%2CRH_ANCN_W_NON%2CRH_ANCN_W_N01%2CRH_ANCN_W_N23%2CRH_ANCN_W_N4P%2CRH_ANCT_W_MED%2CRH_ANCT_W_TL4%2CML_PMAL_C_MSY%2CML_PMAL_C_RDT%2CML_FEVR_C_FEV%2CML_FEVT_C_ACT%2CML_FEVT_C_AMS%2CML_HEMO_C_HL8%2CCM_ECMR_C_U5M%2CML_NETP_H_ITN%2CML_NETP_H_IT2%2CML_ITNA_P_ACC%2CML_NETU_P_ITN%2CML_NETC_C_ITN%2CML_NETW_W_ITN%2CML_IPTP_W_SPA%2CML_IPTP_W_2SA%2CML_IPTP_W_3SA%2CML_FEVT_C_ADV%2CML_FEVT_C_ADS%2CML_FEVT_C_BLD%2CML_AMLD_C_ACT%2CWS_HNDW_H_OBS%2CWS_HNDW_H_WAT%2CWS_HNDW_H_SOP%2CWS_HNDW_H_CLN%2CWS_HNDW_H_BAS%2CWS_HNDW_H_LTD%2CWS_HNDW_P_OBS%2CWS_HNDW_P_WAT%2CWS_HNDW_P_SOP%2CWS_HNDW_P_CLN%2CWS_HNDW_P_BAS%2CWS_HNDW_P_LTD&surveyYearStart=1987&breakdown=all&f=json&perPage=5000&apiKey=ICLSPH-527168 2. Up record returns to 30,000