meteo_imgw_monthly: Monthly IMGW meteorological data

Description Usage Arguments Examples

View source: R/meteo_imgw_monthly.R

Description

Downloading monthly (meteorological) data from the SYNOP / CLIMATE / PRECIP stations available in the danepubliczne.imgw.pl collection

Usage

1
2
3
4
5
6
7
8
9
meteo_imgw_monthly(
  rank = "synop",
  year,
  status = FALSE,
  coords = FALSE,
  station = NULL,
  col_names = "short",
  ...
)

Arguments

rank

rank of the stations: "synop" (default), "climate", or "precip"

year

vector of years (e.g., 1966:2000)

status

leave the columns with measurement and observation statuses (default status = FALSE - i.e. the status columns are deleted)

coords

add coordinates of the station (logical value TRUE or FALSE)

station

name or ID of meteorological station(s). It accepts names (characters in CAPITAL LETTERS) or stations' IDs (numeric)

col_names

three types of column names possible: "short" - default, values with shorten names, "full" - full English description, "polish" - original names in the dataset

...

other parameters that may be passed to the 'shortening' function that shortens column names

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  monthly = meteo_imgw_monthly(rank = "climate", year = 1969)
  head(monthly)

  # a descriptive (long) column names:
  monthly2 = meteo_imgw_monthly(rank = "synop", year = 2018, 
         col_names = "full")
  head(monthly2)
  
  # please note that station names may change over time 
  # and thus 2 names are required in some cases:
  df = meteo_imgw_monthly(rank = 'synop', year = 1991:2000, 
          coords = TRUE, station = c("POZNAŃ","POZNAŃ-ŁAWICA")) 

climate documentation built on May 3, 2021, 1:07 a.m.