Learn R Programming

WaterBalanceR (version 0.1.19)

DownloadRaindancer: Scrapes data from Raindancer user account for all logged sprinklers. Beware: It only downloads the last 10.000 logs (~12 days). Requirements: Java and Firefox must be installed on your machine.

Description

Scrapes data from Raindancer user account for all logged sprinklers. Beware: It only downloads the last 10.000 logs (~12 days). Requirements: Java and Firefox must be installed on your machine.

Usage

DownloadRaindancer(
  sourcepath = NA,
  targetpath = NA,
  port = 4486L,
  client = NA,
  user = NA,
  pass = NA,
  waitfor = 3,
  nozzle_diameter = "25_4",
  target_crs = 32633,
  ff_vis = "no"
)

Value

csv file for all irrigation events of all sprinklers, that are logged in Raindancer Account.

Arguments

sourcepath

Path (string) to Firefox download folder. Look it up in your Firefox browser.

targetpath

Path (string) to destination folder for downloaded csv-files from Raindancer.

port

You need to open a port to let R and Java scrape the website´s data (default: 4486L).

client

Raindancer client number

user

Raindancer user account

pass

Raindancer password

waitfor

time to wait for loading websites. The quicker your computer and internet connection, the less it can be (integer). Default is 3.

nozzle_diameter

diameter of nozzle in mm (string, e.g. 17_8 = 17.8 mm). Default is "25_4".

target_crs

target crs

ff_vis

choose whether Firefox runs visibly ("yes") or hidden ("no", default). If visible, increase the waiting time (e.g., to about 3 seconds).