Skip to contents

download_saa() downloads annual agricultural statistical data from french government entity Agreste.

Usage

download_saa(
  destination = tempdir(),
  origin = "agreste",
  name = "SAA_2010-2024",
  verbose = FALSE
)

Arguments

destination

character, the address where data are stocked.

origin

character, either "agreste" or the address from where data are downloaded. If set to "agreste", url will be the one from agreste.agriculture.gouv.fr (data from 2010-2024). Default to "agreste".

name

character, name that should be given to archive. Default to "SAA_2010-2024"

verbose

boolean, will floodam tells what it is doing, default to FALSE

Value

nothing

Examples

if (FALSE) { # \dontrun{
download_saa(verbose = TRUE)
} # }