Name: hddtools
Owner: rOpenSci
Description: Hydrological Data Discovery Tools (R package for hydrology and open data)
Created: 2014-07-30 10:39:49.0
Updated: 2017-12-15 14:03:39.0
Pushed: 2017-10-21 08:07:15.0
Homepage: http://ropensci.github.io/hddtools/
Size: 19037
Language: R
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
hddtools stands for Hydrological Data Discovery Tools. This R package is an open source project designed to facilitate access to a variety of online open data sources relevant for hydrologists and, in general, environmental scientists and practitioners.
This typically implies the download of a metadata catalogue, selection of information needed, a formal request for dataset(s), de-compression, conversion, manual filtering and parsing. All those operations are made more efficient by re-usable functions.
Depending on the data license, functions can provide offline and/or online modes. When redistribution is allowed, for instance, a copy of the dataset is cached within the package and updated twice a year. This is the fastest option and also allows offline use of package's functions. When re-distribution is not allowed, only online mode is provided.
The hddtools package depends on other CRAN packages. Check for missing dependencies and install them using the commands below:
s <- c("zoo", "sp", "RCurl", "XML", "rnrfa", "Hmisc", "raster",
"stringr", "devtools", "leaflet")
packages <- packs[!(packs %in% installed.packages()[,"Package"])]
ength(new_packages)) install.packages(new_packages)
Get the released version from CRAN:
all.packages("hddtools")
Or the development version from github using devtools:
ools::install_github("ropensci/hddtools")
Load the hddtools package:
ary("hddtools")
The package contains functions to interact with the data providers listed below. For examples of the various functionalities see the vignette.
KGClimateClass: The Koppen Climate Classification map is used for classifying the world's climates based on the annual and monthly averages of temperature and precipitation.
GRDC: The Global Runoff Data Centre (GRDC) provides datasets for all the major rivers in the world.
TRMM: The NASA's Tropical Rainfall Measuring Mission records global historical rainfall estimation in a gridded format since 1998 with a daily temporal resolution and a spatial resolution of 0.25 degrees. Please note the TRMM function has been temporarily removed from hddtools v0.7 as the ftp at NASA containing the data has been migrated. A new function is under development and will be avalable at the next release (v0.8).
Data60UK: The Data60UK initiative collated datasets of areal precipitation and streamflow discharge across 61 gauging sites in England and Wales (UK).
MOPEX: This dataset contains historical hydrometeorological data and river basin characteristics for hundreds of river basins in the US.
SEPA: The Scottish Environment Protection Agency (SEPA) provides river level data for hundreds of gauging stations in the UK.
hddtools
in R doing citation(package = "hddtools")