Type: | Package |
Title: | Misc Functions of Eduard Szöcs |
Version: | 0.0.3 |
Date: | 2017-01-10 |
Maintainer: | Eduard Szöcs <eduardszoecs@gmail.com> |
Description: | Misc functions programmed by Eduard Szöcs. Provides read_regnie() to read gridded precipitation data from German Weather Service (DWD, see http://www.dwd.de/ for more information). |
License: | MIT + file LICENSE |
URL: | https://github.com/EDiLD/esmisc |
BugReports: | https://github.com/EDiLD/esmisc/issues |
Encoding: | UTF-8 |
LazyLoad: | yes |
LazyData: | yes |
Depends: | R (≥ 3.1.0) |
Imports: | raster, ggplot2, readr |
Suggests: | testthat |
RoxygenNote: | 5.0.1 |
NeedsCompilation: | no |
Packaged: | 2017-01-11 07:50:09 UTC; edisz |
Author: | Eduard Szöcs [aut, cre] |
Repository: | CRAN |
Date/Publication: | 2017-01-11 10:34:49 |
Read DWD REGNIE gridded data into R
Description
This functions reads DWD REGNIE data. A description of the data can be found here (pdf-format): https://www.dwd.de/DE/leistungen/regnie/download/regnie_beschreibung_pdf.pdf?__blob=publicationFile&v=2. Data is available here: ftp://ftp-cdc.dwd.de/pub/CDC/grids_germany/daily/regnie/.
Usage
read_regnie(file)
Arguments
file |
path to gz archive |
Value
A RasterLayer
object.
Examples
# Read daily precipitation on 20.01.2005.
r <- read_regnie(system.file("extdata", "ra050120.gz", package = "esmisc"))
Custom ggplot2 theme
Description
Custom ggplot2 theme
Usage
theme_edi(base_size = 14, base_family = "Helvetica")
Arguments
base_size |
basefont size |
base_family |
base font family |
Examples
library(ggplot2)
p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg,
colour=factor(gear))) + facet_wrap(~am)
p
p + theme_edi()