Skip to content
/ ukcpR Public

R wrapper for the UK Met Office UKCP API.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

shanej90/ukcpR

Repository files navigation

ukcpR


Lifecycle: experimental

The goal of ukcpR is to make it a bit easier to interact with the UK Met Office’s UK Climate Projections (UKCP) data, via its API, then work with the data produced

At the moment the package is focused on a limited number of document types, all of which are .csv files. This may expand to further document types in the future, but for now this helps in some instances. Currently you can use this package to run queries on:

  • Observations from HadUK-Grid over UK for daily data
  • Observations from HadUK-Grid over UK for monthly, seasonal or annual data
  • Variables from local/regional/global projections over UK for monthly, seasonal or annual data

Note: this package relies on you already having a UKCP account. You will not be able to use the API without a key it provides. By default this package assumes the key will be stored as an environment variable UKCP_API_KEY in your .Renviron file, but you can overwrite if desired. It should be noted that any queries you make via the API will be logged (and results accessible) in the UKCP web interface.

You also need to have some understanding of possible values for API parameters. The nature of this package is you can freely enter any old text, and even if individual parameters are valid, they may not work in combination. Reading up/doing some trials via the UI initially will probably save a lot of frustration.

See the how-to guide for more information and examples.

Installation

You can install the development version of ukcpR as follows:

remotes::install_github("shanej90/ukcpR")

About

R wrapper for the UK Met Office UKCP API.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages