Jeff Imai-Eaton

Results 12 issues of Jeff Imai-Eaton

This PR makes a few small header edits to enable including the Eigen/Tensor module in TMB previously discussed on the TMB mailing list here: https://groups.google.com/g/tmb-users/c/lIsIJ0njMOA It make the following changes:...

Hello, I'm trying to use the `map` argument to `MakeADFun` to fix the values of an entire parameter vector. When I fix the entire vector using `NA` values, I get...

Docs

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...

For @OJWatson -- I have just been getting this error: ```r Browse[4]> tmp

enhancement

``` > get_datasets("ALIR71FL.ZIP") Downloading: Albania 2017 DHS Individual Recode Flat ASCII data (.dat) [ALIR71FL.ZIP] Error: `labels` must be unique > ``` sigh...

parser exceptions

@hesohn has written some nice R functions for converting the various local calendars to Gregorian: https://github.com/hesohn/DHSmortality/tree/master/R Perhaps we should pull these into `rdhs` if @hesohn is amenable.

enhancement

It would be convenient to cache results of `download_boundaries()` similar to survey datasets. Benefits of this are faster access, save bandwidth, and access offline.

enhancement

`dhs_datasets()` fails if I request a list of SurveyIds of length 186. The breaking point appears to be 163. Error message: ``` > invisible(dhs_datasets(surveyIds = survid[1:165], fileType = "IR", fileFormat...

bug

SPS files formatted very different, fewer new lines. Example dataset 'KEIR03FL.SPS'

parser exceptions

If possible, it would be nice for the error message returned by `get_datasets()` to return a different message if you've asked for a dataset that does not exist vs. a...

enhancement