USAID-OHA-SI / fastR

Import COP19/20 FAST ER Tool
Other
0 stars 1 forks source link

Issue reading in 3 Initiative-E #4

Closed achafetz closed 5 years ago

achafetz commented 5 years ago

This is the error I got when I tried to run run_fastR on just one of the files for "3 Initiative-E" tab as well

`> fast <- purrr::map_dfr(.x = files, .f = ~ run_fastR(.x, "3 Initiative-E"))

Error: Columns 69, 70, 71, 72, 73, ... cannot have NA as name`

Originally posted by @jaliasd in https://github.com/USAID-OHA-SI/fastR/issues/3#issuecomment-466668135

achafetz commented 5 years ago

The issues appears that FAST tools reviewed by OGAC now have 3 initiative groups, not 2. This throws off the manually names columns. :frowning:

achafetz commented 5 years ago

resolved.

https://github.com/USAID-OHA-SI/fastR/blob/34c1c76ef5a356720404358eae82157150f89b9d/R/limit_init.R#L11-L15