UKgrid
An R data package with the UK National Grid historical demand for electricity between April 2005 and October 2019.
https://github.com/RamiKrispin/UKgrid
Category: Energy Systems
Sub Category: Energy Data Accessibility and Integration
Last synced: about 21 hours ago
JSON representation
Repository metadata
The UK National Grid historical demand for electricity
- Host: GitHub
- URL: https://github.com/RamiKrispin/UKgrid
- Owner: RamiKrispin
- License: other
- Created: 2018-07-15T06:57:40.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T17:31:33.000Z (over 1 year ago)
- Last Synced: 2024-06-11T19:58:11.650Z (11 months ago)
- Language: R
- Homepage: https://ramikrispin.github.io/UKgrid/
- Size: 49.6 MB
- Stars: 28
- Watchers: 5
- Forks: 6
- Open Issues: 1
- Releases: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
UKgrid
An R data package with the UK National Grid historical demand for electricity between April 2005 and October 2019
Overview
The UKgrid dataset is an example of a multiple seasonality time series. This time series captures the demand for electricity and its components in the UK since April 2005 using half-hour intervals. In addition, the package provides a function to extract, subset and aggregate the series into tsibble
, ts
, xts
, zoo
, data.frame
, data.table
, or tbl
.
The data was sourced from the National Grid UK website
Installation
Install the stable version from CRAN:
install.packages("UKgrid")
or install the development version from Github:
# install.packages("remotes")
remotes::install_github("RamiKrispin/UKgrid")
Usage
library(UKgrid)
# Load the full dataset (data.frame format)
data("UKgrid")
# Extract only the demand field (ND - National Demand) using tsibble format
extract_grid(type = "tsibble",
columns = "ND")
# Extract the demand between 2016 and 2017 using tbl format
extract_grid(type = "tbl",
columns = "ND",
start = 2016,
end = 2017)
# Extract the first 10 days in 2018 and aggregate to hourly using zoo format
extract_grid(type = "zoo",
columns = "ND",
start = as.Date("2018-01-01"),
end = as.Date("2018-01-10"),
aggregate = "hourly")
Owner metadata
- Name: Rami Krispin
- Login: RamiKrispin
- Email:
- Kind: user
- Description: Data science and engineering manager | Author, open-source contributor 👨🏻💻 | Time-series analysis and forecasting ❤️ | Opinions are my own 😎
- Website: https://medium.com/@rami.krispin
- Location: Cupertino, California, US
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/12760966?u=654c914d9df714991b890ea38ac4fce0e55c0d8f&v=4
- Repositories: 118
- Last ynced at: 2024-06-11T15:58:00.605Z
- Profile URL: https://github.com/RamiKrispin
GitHub Events
Total
Last Year
Committers metadata
Last synced: 8 days ago
Total Commits: 2
Total Committers: 2
Avg Commits per committer: 1.0
Development Distribution Score (DDS): 0.5
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Lior Krispin | l****n@L****l | 1 |
LiorKri | l****i@p****l | 1 |
Committer domains:
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 6
Total pull requests: 1
Average time to close issues: 25 days
Average time to close pull requests: N/A
Total issue authors: 1
Total pull request authors: 1
Average comments per issue: 0.67
Average comments per pull request: 0.0
Merged pull request: 0
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- RamiKrispin (6)
Top Pull Request Authors
- olivroy (1)
Top Issue Labels
- enhancement (4)
- task (2)
Top Pull Request Labels
Package metadata
- Total packages: 1
-
Total downloads:
- cran: 336 last-month
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: UKgrid
The UK National Electricity Transmission System Dataset
- Homepage: https://github.com/RamiKrispin/UKgrid
- Documentation: http://cran.r-project.org/web/packages/UKgrid/UKgrid.pdf
- Licenses: MIT + file LICENSE
- Latest release: 0.1.3 (published almost 5 years ago)
- Last Synced: 2025-04-27T12:34:36.462Z (2 days ago)
- Versions: 4
- Dependent Packages: 1
- Dependent Repositories: 1
- Downloads: 336 Last month
-
Rankings:
- Stargazers count: 10.062%
- Forks count: 10.871%
- Dependent packages count: 17.656%
- Average: 18.06%
- Dependent repos count: 24.382%
- Downloads: 27.329%
- Maintainers (1)
Dependencies
- R >= 3.0.2 depends
- data.table >= 1.11.2 imports
- dplyr >= 0.7.5 imports
- lubridate >= 1.6.0 imports
- magrittr >= 1.5 imports
- tsibble >= 0.9.0 imports
- xts >= 0.12.0 imports
- zoo >= 1.8 imports
- TSstudio * suggests
- devtools * suggests
- knitr * suggests
- remotes * suggests
- rmarkdown * suggests
- testthat * suggests
Score: 9.88644311792687