This function has been designed for read the ovitrap datasets (historic and current year).

ovitraps_read(path, current_year, year = NULL)

Arguments

path

is the directory where the files are located. The files for the current year is in txt (currente_year = TRUE), the historic dataset is a zip file (currente_year = FALSE).

current_year

is a logical value. The current_year = TRUE is for current year dataset (2020), else is for historic dataset (2011 to 2019).

year

is a string value. When the current_year is FALSE, we need define the year. When current_year is TRUE the value for year is NULL.

Value

a dataframe.

Details

the current and historic ovitrap dataset is download of the homepage of **Sistema Integral de Monitoreo de Vectores**.

References

xxxxx

See also

Author

Felipe Antonio Dzul Manzanilla felipe.dzul.m@gmail.com

Examples

1+1
#> [1] 2