get_station_data: Get the station measurements

Description Usage Arguments Value

View source: R/download_wrdc_data.R

Description

Downloads the table with measurements and rewrites it to a long format. Note that not always all the years are avaiable for download.

Usage

1
get_station_data(nm, stn, yr)

Arguments

nm

name of the country according to the html link

stn

name of the station according to the html link

yr

year of the measurements to be downloaded

Value

returns a dataframe with the ser_date (yyyy-mm-dd), qq (radiation in J/cm2), qc (quality flag 0,1 or 2) and the columns qcm and qca with -9 values. The last two quality control columns are to be filled during another check.


MariekeDirk/wrdc documentation built on Nov. 19, 2019, 10:44 p.m.