USAID-OHA-SI / WeekendSpecial

SA weekly data munging
0 stars 1 forks source link

Data Structure Issue (import) - Date headers (CDC) #32

Closed achafetz closed 6 years ago

achafetz commented 6 years ago

Each agency has different dates. Would be ideal to have CDC adjust their dates as (1) the import is already optimized for mm"/"dd"/"yy structure and (2) R is not reading this in as a date easily.

type date format
USAID 3/12/2018 mm"/"dd"/"yy
CDC 2-Oct-17 General
achafetz commented 6 years ago

fixed with condition

https://github.com/USAID-ICPI/WeekendSpecial/blob/2c05568753248bb35ccc6464c6b3f321f036f119/R/wpm_import.R#L65-L71