Skip to contents

rdhs 0.7.5

  • download_boundaries patch (#138) for pause when downloading survey boundaries. Set default sleep to 5 seconds to avoid timeout.

rdhs 0.7.4

  • available_datasets patch (#131) for new version of qdapRegex on CRAN

rdhs 0.7.3

CRAN release: 2021-07-19

  • Reference internal access to model_datasets with rdhs::model_datasets to avoid errors if rdhs namespace is not loaded.

rdhs 0.7.2

CRAN release: 2021-04-28

  • available_datasets patch (#115)

rdhs 0.7.1

CRAN release: 2020-12-01

rdhs 0.7.0

  • Add CITATION info.
  • New download_boundaries for downloading spatial boundaries using (#71)
  • New dhs_gps_data_format for DHS GPS Information (#74)
  • Tibbles can be specified correctly as data.frame format (#89)
  • Config creation on Windows 10 fixed (#91)
  • Typos and messaging fixed (#78, #84, #87, #92)
  • unzip_special correctly detects 4Gb files (#43)

rdhs 0.6.3

CRAN release: 2019-03-19

  • Addresses CRAN fail on windows
  • New delabel_df for converting labelled data frames to characters (#54)

rdhs 0.6.2

CRAN release: 2019-02-28

  • Duplicate labels when parsing flat data files corrected (#79)

rdhs 0.6.1

CRAN release: 2019-01-24

  • extraction(add_geo=TRUE) correction for Kenya 2014 surveys (#67)
  • Geospatial covariate data sets now supported correctly (#64)

rdhs 0.6.0

CRAN release: 2018-12-18

  • New as_factor.labelled for backward compatibility with haven <2.0.0 labelled classes.

  • model_datasets now internal and exported dataset (#60).

rdhs 0.5.2

  • New vignettes: country_codes

  • Documentation typos corrected (#55)

rdhs 0.5.0

  • New set_rdhs_config for providing login credentials. This deprecates set_dhs_credentials.

  • New get_rdhs_config shows the credentials currently used by rdhs

rdhs 0.4.0

  • Permissionn from user now required for file saving.

  • API requests can now ignore any cached responses (force = TRUE) argument (#23):


dat <- dhs_countries(force = TRUE)
  • get_datasets(clear_cache = TRUE) will clear the cached available datasets, enabling newly requested datasets to be downloaded (@kaisero, #29).

  • geojson objects can now be requested from the API so that you can return geojson objects for mapping purposes (#28) e.g. :


d <- dhs_data(countryIds = "SN", surveyYearStart = 2014, 
              breakdown = "subnational", returnGeometry = TRUE,
              f = "geojson")
              
# convert to spatial object
sp <- geojsonio::as.json(d) %>% geojsonio::geojson_sp

rdhs 0.3.0

rdhs 0.2.1

rdhs 0.2.0

rdhs 0.1.0

  • Initial share on Feb, 24th 2018 to colleagues at UNC.