StatisticalServicesCentre / ClimateObject

This R code
GNU General Public License v3.0
0 stars 7 forks source link

Problem Importing Data #21

Open jkmusyoka opened 9 years ago

jkmusyoka commented 9 years ago

I tried to create a climate object using this line of code kenya_obj <- climate$new(data_tables = list(kibos = kibos, chemelil = chemelil, maseno = maseno), date_format = "%m/%d/%Y") which used to work but got this error "date_formats must be a list of the same length as data_tables".

volloholic commented 9 years ago

I will fix this in my next stable update. My code is a bit of a mess at the moment.

AndreeMN commented 9 years ago

Hi James, It requires the value of the argument date_format to be of type list. So try this: date_format = list( "%m/%d/%Y", "%m/%d/%Y", "%m/%d/%Y")

I think that would work. I also got that error a week ago.