{"id":22174507,"url":"https://github.com/eduardszoecs/esmisc","last_synced_at":"2025-12-12T02:16:56.431Z","repository":{"id":18390056,"uuid":"21571179","full_name":"eduardszoecs/esmisc","owner":"eduardszoecs","description":"misc functions","archived":false,"fork":false,"pushed_at":"2017-03-30T08:47:07.000Z","size":989,"stargazers_count":4,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-23T04:39:03.939Z","etag":null,"topics":["misc","rstats"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eduardszoecs.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-07T13:17:50.000Z","updated_at":"2024-05-15T21:36:23.000Z","dependencies_parsed_at":"2022-08-28T15:32:17.898Z","dependency_job_id":null,"html_url":"https://github.com/eduardszoecs/esmisc","commit_stats":null,"previous_names":["edild/esmisc"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardszoecs%2Fesmisc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardszoecs%2Fesmisc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardszoecs%2Fesmisc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardszoecs%2Fesmisc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduardszoecs","download_url":"https://codeload.github.com/eduardszoecs/esmisc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227692777,"owners_count":17805175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["misc","rstats"],"created_at":"2024-12-02T07:50:39.188Z","updated_at":"2025-12-12T02:16:51.410Z","avatar_url":"https://github.com/eduardszoecs.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: \n  md_document\n---\nesmisc\n============\n[![Build Status](https://travis-ci.org/EDiLD/esmisc.png)](https://travis-ci.org/EDiLD/esmisc)\n[![Build status](https://ci.appveyor.com/api/projects/status/ju4fwso1luyanrn6?svg=true)](https://ci.appveyor.com/project/EDiLD/esmisc-98v1t)\n[![codecov](https://codecov.io/gh/EDiLD/esmisc/branch/master/graph/badge.svg)](https://codecov.io/gh/EDiLD/esmisc)\n[![Open Issues](https://img.shields.io/github/issues/edild/esmisc.svg)](https://github.com/edild/esmisc/issues)\n[![Downloads](http://cranlogs.r-pkg.org/badges/esmisc)](http://cranlogs.r-pkg.org/badges/esmisc)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/esmisc)](http://cran.r-project.org/web/packages/esmisc)\n\n\n`esmisc` is a R package containing misc functions of Eduard Szöcs.\n\n## Functions\nCurrently the following functions are available:\n\n  + `read_regnie()` reads DWD REGNIE data into R.\n  + `theme_edi()` is a custom ggplot2 theme that I use.\n    \n\n    \n## Installation\n`esmisc` is currently only available on github. To install `esmisc` use:\n```{r install, eval=FALSE}\ninstall.packages('devtools')\nlibrary(devtools)\ninstall_github('esmisc', 'EDiLD')\nlibrary(esmisc)\n```\n\n## Examples\n```{r load}\nlibrary(esmisc)\n```\n\n\n### Read DWD REGNIE data into R\n\n```{r read_regnie, message=FALSE}\nr \u003c- read_regnie(system.file(\"extdata\", \"ra050120.gz\", package = \"esmisc\"))\n# plot the raster\nrequire(raster)\nplot(r, main = 'Precipitation on 20.01.2005')\n```\n\n### ggplot2 theme\n\n```{r ggplot_themes}\nlibrary(ggplot2)\np \u003c- ggplot(mtcars) + \n  geom_point(aes(x = wt, y = mpg, colour = factor(gear))) + \n  facet_wrap(~am) + \n  theme_edi()\np\n```\n\n### other functions\n\n#### Geometric mean\n```{r}\nmean(c(1, 10, 100))\ngeomean(c(1, 10, 100))\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardszoecs%2Fesmisc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduardszoecs%2Fesmisc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardszoecs%2Fesmisc/lists"}