{"id":193159,"name":"ingestr","description":"Provides functions to extract environmental point data from large global files or remote data servers and create time series at user-specified temporal resolution.","url":"https://github.com/geco-bern/ingestr","last_synced_at":"2026-04-06T02:02:09.942Z","repository":{"id":44676963,"uuid":"238214055","full_name":"geco-bern/ingestr","owner":"geco-bern","description":"Data ingest for points (given longitude, latitude, and required dates) from large global files or remote data servers and create time series at user-specified temporal resolution.","archived":false,"fork":false,"pushed_at":"2026-01-26T08:50:18.000Z","size":32997,"stargazers_count":42,"open_issues_count":22,"forks_count":21,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-04T12:31:52.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://geco-bern.github.io/ingestr","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geco-bern.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-04T13:35:20.000Z","updated_at":"2026-01-14T04:14:03.000Z","dependencies_parsed_at":"2025-04-10T14:01:14.244Z","dependency_job_id":"76142479-f1c8-4073-a3de-417aa9be84ce","html_url":"https://github.com/geco-bern/ingestr","commit_stats":null,"previous_names":["computationales/ingestr"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/geco-bern/ingestr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geco-bern","download_url":"https://codeload.github.com/geco-bern/ingestr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29566649,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"}},"owner":{"login":"geco-bern","name":"GECO","uuid":"93120344","kind":"organization","description":"Geocomputation and Earth Observation at the University of Bern","email":null,"website":"geco-group.org","location":"Switzerland","twitter":"SteniBocker","company":null,"icon_url":"https://avatars.githubusercontent.com/u/93120344?v=4","repositories_count":22,"last_synced_at":"2023-03-15T20:55:13.905Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/geco-bern","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-15T04:35:02.632Z","updated_at":"2023-03-15T20:55:13.907Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geco-bern","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geco-bern/repositories"},"packages":[],"commits":{"id":1548943,"full_name":"geco-bern/ingestr","default_branch":"master","total_commits":383,"total_committers":11,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":34.81818181818182,"dds":0.6475195822454308,"past_year_total_commits":2,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":2.0,"past_year_dds":0.0,"last_synced_at":"2026-02-16T18:20:01.970Z","last_synced_commit":"ad5b90176790165a2dbbb78e034c4e6615bd91fb","created_at":"2024-05-21T00:17:50.327Z","updated_at":"2026-02-16T18:18:49.833Z","committers":[{"name":"khufkens","email":"koen.hufkens@gmail.com","login":"khufkens","count":135},{"name":"stineb","email":"b.stocker@imperial.ac.uk","login":null,"count":79},{"name":"Benjamin Stocker","email":"benjamin.stocker@gmail.com","login":"stineb","count":70},{"name":"Fabian Bernhard","email":"10245680+fabern","login":"fabern","count":54},{"name":"padasch","email":"96p.schneider@gmail.com","login":"padasch","count":24},{"name":"Pepa Aran Paredes","email":"pepa@pop-os.localdomain","login":null,"count":8},{"name":"Pepa Arán","email":"61271873+pepaaran","login":"pepaaran","count":7},{"name":"stineb","email":"benjamin.stocker@gmail.comm","login":null,"count":3},{"name":"localadmin","email":"localadmin@staff-net-vpn-dhcp-7501.intern.ethz.ch","login":null,"count":1},{"name":"localadmin","email":"localadmin@staff-net-vpn-dhcp-4690.intern.ethz.ch","login":null,"count":1},{"name":"Koen Hufkens","email":"khufkens@eu-login-04.euler.ethz.ch","login":null,"count":1}],"past_year_committers":[{"name":"Beni Stocker","email":"benjamin.stocker@gmail.com","login":"stineb","count":2}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-02-18T00:00:31.466Z","repositories_count":6178478,"commits_count":929238908,"contributors_count":36020157,"owners_count":1144270,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"geco-bern/ingestr","html_url":"https://github.com/geco-bern/ingestr","last_synced_at":"2025-08-31T09:03:37.346Z","status":null,"issues_count":47,"pull_requests_count":30,"avg_time_to_close_issue":3389356.925925926,"avg_time_to_close_pull_request":1359209.037037037,"issues_closed_count":27,"pull_requests_closed_count":27,"pull_request_authors_count":7,"issue_authors_count":9,"avg_comments_per_issue":1.297872340425532,"avg_comments_per_pull_request":0.4666666666666667,"merged_pull_requests_count":25,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":5,"past_year_pull_requests_count":8,"past_year_avg_time_to_close_issue":5107.0,"past_year_avg_time_to_close_pull_request":661433.0,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":5,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.8,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":5,"created_at":"2024-05-21T00:17:52.033Z","updated_at":"2025-09-03T05:01:53.511Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/geco-bern%2Fingestr/issues","issue_labels_count":{"enhancement":2},"pull_request_labels_count":{},"issue_author_associations_count":{"MEMBER":28,"COLLABORATOR":9,"NONE":5,"CONTRIBUTOR":4},"pull_request_author_associations_count":{"MEMBER":24,"COLLABORATOR":8,"NONE":2,"CONTRIBUTOR":2},"issue_authors":{"khufkens":23,"stineb":9,"fabern":5,"padasch":3,"yunkepeng":2,"lauramarques":1,"pepaaran":1,"mpeaucelle":1,"dlebauer":1},"pull_request_authors":{"khufkens":15,"fabern":9,"stineb":6,"martinabuck":2,"FrancescoGrossi-unimi":2,"padasch":1,"pepaaran":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-02-18T00:00:09.706Z","repositories_count":13320112,"issues_count":35300484,"pull_requests_count":114733097,"authors_count":11159227,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"MEMBER":1},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"fabern":1},"past_year_pull_request_authors":{},"maintainers":[{"login":"khufkens","count":38,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/khufkens"},{"login":"stineb","count":15,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stineb"},{"login":"fabern","count":14,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fabern"},{"login":"FrancescoGrossi-unimi","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/FrancescoGrossi-unimi"}],"active_maintainers":[{"login":"fabern","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fabern"}]},"events":{"total":{"DeleteEvent":6,"MemberEvent":1,"PullRequestEvent":8,"IssuesEvent":5,"WatchEvent":1,"IssueCommentEvent":12,"PushEvent":27,"CreateEvent":4},"last_year":{"IssuesEvent":1,"WatchEvent":1,"PushEvent":2}},"keywords":[],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2022-09-07T05:31:56.260Z","updated_at":"2022-09-07T05:31:56.260Z","repository_link":"https://github.com/geco-bern/ingestr/blob/master/DESCRIPTION","dependencies":[{"id":4076531419,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 3.6","direct":true,"kind":"depends","optional":false},{"id":4076531420,"package_name":"dplyr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531421,"package_name":"rlang","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531422,"package_name":"stats","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531423,"package_name":"utils","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531424,"package_name":"purrr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531425,"package_name":"lubridate","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531426,"package_name":"tidyr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531427,"package_name":"tidyselect","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531428,"package_name":"multidplyr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531429,"package_name":"readr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531430,"package_name":"hwsdr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531431,"package_name":"raster","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531432,"package_name":"stringr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531433,"package_name":"sp","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531434,"package_name":"ncdf4","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531435,"package_name":"signal","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531436,"package_name":"rgdal","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531437,"package_name":"sf","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531438,"package_name":"MODISTools","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531439,"package_name":"data.table","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":4076531440,"package_name":"ggplot2","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":4076531441,"package_name":"rmarkdown","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":4076531442,"package_name":"covr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":4076531443,"package_name":"testthat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":4076531444,"package_name":"knitr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/R-CMD-check.yaml","sha":null,"kind":"manifest","created_at":"2023-01-30T00:01:03.095Z","updated_at":"2023-01-30T00:01:03.095Z","repository_link":"https://github.com/geco-bern/ingestr/blob/master/.github/workflows/R-CMD-check.yaml","dependencies":[{"id":7234995590,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7234995593,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false},{"id":7234995595,"package_name":"r-lib/actions/setup-pandoc","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false},{"id":7234995598,"package_name":"actions/cache","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7234995601,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"main","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/deploy_docs.yaml","sha":null,"kind":"manifest","created_at":"2025-04-10T14:01:12.887Z","updated_at":"2025-04-10T14:01:12.887Z","repository_link":"https://github.com/geco-bern/ingestr/blob/master/.github/workflows/deploy_docs.yaml","dependencies":[{"id":22627833554,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3","direct":true,"kind":"composite","optional":false},{"id":22627833555,"package_name":"r-lib/actions/setup-pandoc","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":22627833556,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":22627833557,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":22627833558,"package_name":"JamesIves/github-pages-deploy-action","ecosystem":"actions","requirements":"v4.4.1","direct":true,"kind":"composite","optional":false}]}],"score":6.556778356158042,"created_at":"2024-05-21T00:17:46.189Z","updated_at":"2026-04-06T02:02:09.954Z","avatar_url":"https://github.com/geco-bern.png","language":"R","category":"Sustainable Development","sub_category":"Curated Lists","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"[![R-CMD-check](https://github.com/geco-bern/ingestr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/geco-bern/ingestr/actions/workflows/R-CMD-check.yaml)\n\n# ingestr\n\nThe package `ingestr` provides functions to extract (ingest) environmental point data (given longitude, latitude, and required dates) from large global files or remote data servers and create time series at user-specified temporal resolution (currently, just daily implemented). The main functionalities are:\n\n-   Temporal downscaling from montly to daily resolution\n-   Quality filtering, temporal interpolation and smoothing of remote sensing data\n-   Handling of different APIs and file formats, returning ingested data in *tidy* format.\n\nThis is to make your life simpler when downloading and reading site-scale data, using a common interface with a single function for single-site and multi-site ingest, respectively, and a common and tidy format of ingested data across a variety of data *sources* and formats of original files. *Sources*, refers to both data sets hosted remotely and accessed through an API and local data sets. ingestr is particularly suited for preparing model forcing and offers a set of functionalities to transform original data into common standardized formats and units. This includes interpolation methods for converting monthly climate data (CRU TS currently) to daily time steps.\n\nThe key functions are `ingest_bysite()` and `ingest()` for a single-site data ingest and a multi-site data ingest, respectively. For the multi-site data ingest, site meta information is provided through the argument `siteinfo` which takes a data frame with columns `lon` for longitude, `lat` for latitude, and (for time series downloads) `year_start` and `year_end`, specifying required dates (including all days of respective years). Sites are organised along rows. An example site meta info data frame is provided as part of this package for sites included in the FLUXNET2015 Tier 1 data set (`siteinfo_fluxnet2015`, additional columns are not required by `ingest_bysite()` and `ingest()`).\n\nThe following *sources* can be handled currently:\n\n| Data source                                                                                               | Data type              | Coverage | Source ID     | Reading from  | Remark                                                                                     |\n|-----------------------------------------------------------------------------------------------------------|------------------------|----------|---------------|---------------|--------------------------------------------------------------------------------------------|\n| [FLUXNET](https://fluxnet.fluxdata.org/data/fluxnet2015-dataset/)                                         | time series by site    | site     | `fluxnet`     | local files   | Extraction by site name                                                                    |\n| [WATCH-WFDEI](http://www.eu-watch.org/data_availability)                                                  | time series raster map | global   | `watch_wfdei` | local files   |  |\n| [WFDE5](https://cds.climate.copernicus.eu/cdsapp#!/dataset/10.24381/cds.20d54e34?tab=overview) | time series raster map | global | `wfde5` | local files | [Cucchi et al. (2020)](https://essd.copernicus.org/articles/12/2097/2020/) |\n| [CRU](https://crudata.uea.ac.uk/cru/data/hrg/)                                                            | time series raster map | global   | `cru`         | local files   |                                                                                            |\n| MODIS LP DAAC                                                                                             | time series raster map | global   | `modis`       | remote server | using [MODISTools](https://docs.ropensci.org/MODISTools/)                                  |\n| Google Earth Engine                                                                                       | time series raster map | global   | `gee`         | remote server | using Koen Hufken's [gee_suset](https://khufkens.github.io/gee_subset/) library            |\n| [ETOPO1](https://www.ngdc.noaa.gov/mgg/global/)                                                           | raster map             | global   | `etopo1`      | local files   |                                                                                            |\n| [Mauna Loa CO2](https://www.esrl.noaa.gov/gmd/ccgg/trends/data.html)                                      | time series            | site     | `co2_mlo`     | remote server | using the [climate](https://github.com/bczernecki/climate) R package                       |\n| [HWSD](https://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/)                                                                                                      | raster map, database | global   | `hwsd`        | local files   | using an adaption of David Le Bauer's [rhwsd](https://github.com/dlebauer/rhwsd) R package |\n| [WWF Ecoregions](https://databasin.org/datasets/68635d7c77f1475f9b6c1d1dbe0a4c4c)                         | shapefile map          | global   | `wwf`         | local files   | Olsen et al. (2001)                                                                        |\n| [N deposition](https://link.springer.com/article/10.1007%2Fs10584-011-0155-0)                             | time series raster map | global   | `ndep`        | local files   | Lamarque et al. (2011)                                                                     |\n| [SoilGrids](https://www.isric.org/explore/soilgrids)                                                      | raster map             | global   | `soilgrids`   | remote server | Hengl et al. (2017)                                                                        |\n| [ISRIC WISE30sec](https://data.isric.org/geonetwork/srv/api/records/dc7b283a-8f19-45e1-aaed-e9bd515119bc) | raster map             | global   | `wise`        | local files   | [Batjes (2016)](http://dx.doi.org/10.1016/j.geoderma.2016.01.034)                          |\n| [GSDE Soil](http://globalchange.bnu.edu.cn/research/soilwd.jsp)                                           | raster map             | global   | `gsde`        | local files   | [Shangguan et al. 2014](https://doi.org/10.1002/2013MS000293)                              |\n| [WorldClim](https://www.worldclim.org/data/worldclim21.html)                                              | raster map             | global   | `gsde`        | local files   | [Fick \u0026 Hijmans, 2017](https://doi.org/10.1002/joc.5086)                                   |\n\nExamples to read data for a single site for each data type are given in Section 'Examples for a single site'. Handling ingestion for multiple sites is described in Section 'Example for a set of sites'. Unless remarked otherwise, extraction goes by longitude/latitude values. **Note** that this package does not provide the original data. Please follow links to data sources above where data is read from local files, and always cite original references.\n\n## Variable names and units\n\nAll ingested data follows standardized variable naming and SI units. For example:\n\n| Variable                           | Variable name | Units                           |\n|------------------------------------|---------------|---------------------------------|\n| Gross primary production           | `gpp`         | g CO$^{-2}$ m$^{-2}$            |\n| Air temperature                    | `temp`        | $^\\\\circ$C                      |\n| Daily minimum air temperature      | `tmin`        | $^\\\\circ$C                      |\n| Daily maximum air temperature      | `tmax`        | $^\\\\circ$C                      |\n| Precipitation                      | `prec`        | mm s$^{-1}$                     |\n| Vapour pressure deficit            | `vpd`         | Pa                              |\n| Atmospheric pressure               | `patm`        | Pa                              |\n| Net radiation                      | `netrad`      | J m$^{-2}$ s$^{-1}=$ W m$^{-2}$ |\n| Photosynthetic photon flux density | `ppfd`        | mol m$^{-2}$ s$^{-1}$           |\n| Elevation (altitude)               | `elv`         | m a.s.l.                        |\n\nUse these variable names for specifying which variable names they correspond to in the original data source (see argument `getvars` to functions `ingest()` and `ingest_bysite()`). `gpp` is cumulative, corresponding to the time scale of the data. For example, if daily data is read, `gpp` is the total gross primary production per day (g CO$^{-2}$ m$^{-2}$ d$^{-1}$).\n\n## Installation\n\nTo install and load the rsofun package using the latest release run the following command in your R terminal:\n\n``` r\nif(!require(devtools)){install.packages(\"devtools\")}\ndevtools::install_github(\"geco-bern/ingestr\")\nlibrary(ingestr)\n```\n\n### Dependencies\n\nThe `ingestr` package relies heavily on the tidyverse. Dependencies are dplyr, purrr, lubridate, tidyr, raster, lubridate, stringi, stringr, sp, ncdf4, signal, climate. To install all required packages, do:\n\n``` r\nlist_pkgs \u003c- c(\"dplyr\", \"purrr\", \"lubridate\", \"tidyr\", \"raster\", \"lubridate\", \"stringi\", \"stringr\", \"sp\", \"ncdf4\", \"signal\", \"climate\", \"rgdal\", \"hwsdr\", \"gdalUtils\", \"MODISTools\")\nnew_pkgs \u003c- list_pkgs[!(list_pkgs %in% installed.packages()[,\"Package\"])]\nif(length(new_pkgs)) install.packages(new_pkgs)\n```\n\n## Example\n\nAre described in vignette `example`, available [here](https://rpubs.com/stineb/ingestr).\n\n### Usage and contribution\n\nThis package is designed to be extendible to ingesting other data types (sources). The developer (Beni Stocker) would appreciate if you made sure that your developments can be fed back to this repository. To do so, please use git. See [here](http://rogerdudler.github.io/git-guide/) for a brief introduction to git.\n\nI recommend the following steps if you would just like to use this package (no development):\n\n-   Directly install the package from the most up-to-date code on GitHub by\n\n``` r\ndevtools::install_github(\"stineb/ingestr\")\n```\n\nI recommend the following steps if you would like to use and further develop the package (even just for your own application - But keep in mind: others may benefit from your efforts too!):\n\n1.  Make sure you have a Github account.\n2.  Log on to Github, and go to \u003chttps://github.com/stineb/ingestr\u003e and click on 'Fork' in the upper right corner. This makes a copy of the repository that belongs to you, meaning that you can modify, commit, and push changes back to your forked repository as you please.\n3.  Clone your fork to your local computer by entering in your terminal (here, it's cloned to a subdirectory `ingestr` placed in your home directory):\n\n``` sh\ncd home\ngit clone https://github.com/\u003cyour_github_username\u003e/ingestr.git\n```\n\n1.  In RStudio, create a new project in your local directory `~/ingestr/`. This opens the repository in RStudio and you have access to the code where all ingestr-functions are implemented (see subdirectory `./R/`).\n2.  In RStudio, after having edited code, select the 'Build' tab and click on 'Install and Restart' to build the package again. For quick edits and checks, you may simply source the edited files instead of re-building the whole package. If you like to add new functions, create new a source file in subdirectory `./R/`, write a nice roxygen header (see other source files as an example), then click on 'Build' -\\\u003e 'More' -\\\u003e 'Document', and then again on 'Install and Restart'.\n3.  If you're happy with your new edits and additions to the package, you may want to have it fet back to the original repository. To do so, please create a new *pull request* in GitHub: Click on 'New pull request' on [the repository page](https://github.com/stineb/ingestr) and follow the inuitive steps. Thanks!\n\nThis package is still in its maturing phase. To stay up-to-date with the latest version, regularly re-install from GitHub (`devtools::install_github(\"stineb/ingestr\")`), or - if you're building from a locally (*git*) cloned repository - regularly do a `git pull` and re-install the package.\n","funding_links":[],"readme_doi_urls":["http://dx.doi.org/10.1016/j.geoderma.2016.01.034","https://doi.org/10.1002/2013MS000293","https://doi.org/10.1002/joc.5086"],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["dgvm","growth","p-model","vegetation-dynamics"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/193159","html_url":"https://ost.ecosyste.ms/projects/193159"}