Description Usage Arguments Value Examples
View source: R/imarpe-auxiliar.R
Function to download landing and effort anchovy information from an official repository of the IMARPE. The unique effort of this data base is number of boats.
1 2 3 | downloadDailyFishing(directory = NULL,
urlFishingMonitoring = "http://www.imarpe.pe/imarpe/archivos/reportes/imarpe_rpelag_porfinal",
startDate, endDate, saveFile = TRUE)
|
directory |
Directory where the landing and effort information are stored. By default it
is |
urlFishingMonitoring |
The web address (url - Uniform Resource Locator) for downloading the landings. By default it is http://www.imarpe.pe/imarpe/archivos/reportes/imarpe_rpelag_porfinal. |
startDate |
Start date to download the files. |
endDate |
End date to download the files. |
saveFile |
A logical parameter. By default is |
A data frame where the columns are the variables in spanish:
anho: for years
mes: for months
dia: for days
especie: for species
tipo_flota: for type of fleet
puerto: for port
captura: for the catch or landing of the species
embarcaciones: for the effort
1 2 3 4 5 6 7 | # Download fishing information, by default it is saved.
fishingInfo = downloadDailyFishing(startDate = "2017-4-20", endDate = "2017-6-19")
View(fishingInfo)
#Use saveFile = FALSE to do not save the information.
fishingInfo = downloadDailyFishing(startDate = "2017-4-20", endDate = "2017-6-19", saveFile = FALSE)
View(fishingInfo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.