DownloadFiles: Donlowad MetaInfo and MetaData (for MeteoFrance Snow Open...

Description Usage Arguments Examples

Description

Donlowad MetaInfo and MetaData (for MeteoFrance Snow Open Data)

Usage

1
2
3
4
5
6
  DownloadFiles(url = c("https://donneespubliques.meteofrance.fr/client/document/doc_parametres_nivo_161.pdf",
  "https://donneespubliques.meteofrance.fr/donnees_libres/Txt/Nivo/postesNivo.csv",
  "https://donneespubliques.meteofrance.fr/donnees_libres/Txt/Nivo/postesNivo.json",
  "http://wiki.data.gouv.fr/images/9/9d/Licence_Ouverte.pdf"),
  dest = system.file("dest", package = "MeteoDataFrance"),
  method = c("wget", "curl"), force.download = FALSE, ...)

Arguments

url

URLs. See the linked files in https://donneespubliques.meteofrance.fr/?fond=produit&id_produit=94&id_rubrique=32

dest

destination directory where the downladed csv file is saved

method

method applied in download.file

force.download

logical value. If TRUE files are forced to be downloaded and then overwritten, if it is FALSE (default) and the files already exist in destdir directory are not downloaded.

...

further argument for download.file

Examples

1
2
files <- DownloadFiles()
DownloadFiles(destdir='/home/ecor/Dropbox/R-packages/MeteoDataFrance/inst/dest')

ecor/MeteoDataFrance documentation built on May 15, 2019, 8:01 p.m.