{"id":20029,"name":"UKgrid","description":"An R data package with the UK National Grid historical demand for electricity between April 2005 and October 2019.","url":"https://github.com/RamiKrispin/UKgrid","last_synced_at":"2026-04-17T19:30:32.377Z","repository":{"id":56936201,"uuid":"141005550","full_name":"RamiKrispin/UKgrid","owner":"RamiKrispin","description":"The UK National Grid historical demand for electricity","archived":false,"fork":false,"pushed_at":"2024-01-22T17:31:33.000Z","size":52028,"stargazers_count":27,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-01-19T07:43:55.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ramikrispin.github.io/UKgrid/","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/RamiKrispin.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-07-15T06:57:40.000Z","updated_at":"2025-09-05T08:20:25.000Z","dependencies_parsed_at":"2024-03-17T04:51:47.145Z","dependency_job_id":null,"html_url":"https://github.com/RamiKrispin/UKgrid","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"7cfbd256bc00d21d264eedb86d62a8a610256cce"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/RamiKrispin/UKgrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamiKrispin","download_url":"https://codeload.github.com/RamiKrispin/UKgrid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28620572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"RamiKrispin","name":"Rami Krispin","uuid":"12760966","kind":"user","description":"Data science and engineering manager | Author, open-source contributor 👨🏻‍💻 |  \r\nTime-series analysis and forecasting ❤️ |\r\nOpinions are my own 😎","email":"","website":"https://medium.com/@rami.krispin","location":"Cupertino, California, US","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/12760966?u=654c914d9df714991b890ea38ac4fce0e55c0d8f\u0026v=4","repositories_count":118,"last_synced_at":"2024-06-11T15:58:00.605Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/RamiKrispin","funding_links":[],"total_stars":4023,"followers":2198,"following":18,"created_at":"2022-11-13T01:43:24.257Z","updated_at":"2024-06-11T15:58:02.256Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamiKrispin","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamiKrispin/repositories"},"packages":[{"id":434941,"name":"UKgrid","ecosystem":"cran","description":"The UK National Electricity Transmission System Dataset","homepage":"https://github.com/RamiKrispin/UKgrid","licenses":"MIT + file LICENSE","normalized_licenses":["MIT"],"repository_url":"https://github.com/RamiKrispin/UKgrid","keywords_array":[],"namespace":null,"versions_count":4,"first_release_published_at":"2018-09-17T17:10:00.000Z","latest_release_published_at":"2020-07-05T00:00:00.000Z","latest_release_number":"0.1.3","last_synced_at":"2026-01-20T23:47:59.692Z","created_at":"2022-04-06T22:53:43.989Z","updated_at":"2026-01-20T23:47:59.692Z","registry_url":"https://cran.r-project.org/package=UKgrid","install_command":null,"documentation_url":"http://cran.r-project.org/web/packages/UKgrid/UKgrid.pdf","metadata":{},"repo_metadata":{"id":56936201,"uuid":"141005550","full_name":"RamiKrispin/UKgrid","owner":"RamiKrispin","description":"The UK National Grid historical demand for electricity","archived":false,"fork":false,"pushed_at":"2024-01-22T17:31:33.000Z","size":52028,"stargazers_count":28,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T07:11:25.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ramikrispin.github.io/UKgrid/","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/RamiKrispin.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-07-15T06:57:40.000Z","updated_at":"2024-03-29T13:50:07.000Z","dependencies_parsed_at":"2024-03-17T04:51:47.145Z","dependency_job_id":null,"html_url":"https://github.com/RamiKrispin/UKgrid","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"7cfbd256bc00d21d264eedb86d62a8a610256cce"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamiKrispin","download_url":"https://codeload.github.com/RamiKrispin/UKgrid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":205692127,"owners_count":14465377,"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"},"owner_record":{"login":"RamiKrispin","name":"Rami Krispin","uuid":"12760966","kind":"user","description":"Data science and engineering manager | Author, open-source contributor 👨🏻‍💻 |  \r\nTime-series analysis and forecasting ❤️ |\r\nOpinions are my own 😎","email":"","website":"https://medium.com/@rami.krispin","location":"Cupertino, California, US","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/12760966?u=654c914d9df714991b890ea38ac4fce0e55c0d8f\u0026v=4","repositories_count":118,"last_synced_at":"2024-06-11T15:58:00.605Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/RamiKrispin","funding_links":[],"total_stars":4023,"followers":2198,"following":18,"created_at":"2022-11-13T01:43:24.257Z","updated_at":"2024-06-11T15:58:02.256Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamiKrispin","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamiKrispin/repositories"},"tags":[{"name":"0.1.2","sha":"791b59dc561e616f5dd7b8f73721ea9dc4d64281","kind":"commit","published_at":"2019-12-10T18:30:22.000Z","download_url":"https://codeload.github.com/RamiKrispin/UKgrid/tar.gz/0.1.2","html_url":"https://github.com/RamiKrispin/UKgrid/releases/tag/0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags/0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags/0.1.2/manifests"},{"name":"0.1.1","sha":"ecbe102e04ac588681d87f745803c8f522953395","kind":"commit","published_at":"2019-05-13T06:47:15.000Z","download_url":"https://codeload.github.com/RamiKrispin/UKgrid/tar.gz/0.1.1","html_url":"https://github.com/RamiKrispin/UKgrid/releases/tag/0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags/0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags/0.1.1/manifests"},{"name":"0.1.0","sha":"7da7f3822945e6f42bbc9bb948e6538603ad481f","kind":"commit","published_at":"2018-09-11T05:17:08.000Z","download_url":"https://codeload.github.com/RamiKrispin/UKgrid/tar.gz/0.1.0","html_url":"https://github.com/RamiKrispin/UKgrid/releases/tag/0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags/0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/tags/0.1.0/manifests"}]},"repo_metadata_updated_at":"2024-09-07T19:52:43.380Z","dependent_packages_count":1,"downloads":715,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":27.32902409257334,"dependent_repos_count":24.381865027347104,"dependent_packages_count":17.655833295665143,"stargazers_count":10.061926501830674,"forks_count":10.871039189983275,"docker_downloads_count":null,"average":18.059937621479907},"purl":"pkg:cran/UKgrid","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cran/UKgrid","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/cran/UKgrid","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cran/UKgrid/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-09-07T18:31:29.214Z","issues_count":6,"pull_requests_count":1,"avg_time_to_close_issue":2140855.3333333335,"avg_time_to_close_pull_request":null,"issues_closed_count":6,"pull_requests_closed_count":0,"pull_request_authors_count":1,"issue_authors_count":1,"avg_comments_per_issue":0.6666666666666666,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/issues","maintainers":[{"login":"RamiKrispin","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/RamiKrispin"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/UKgrid/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/UKgrid/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/UKgrid/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/UKgrid/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages/UKgrid/codemeta","maintainers":[{"uuid":"rami.krispin@gmail.com","login":null,"name":"Rami Krispin","email":"rami.krispin@gmail.com","url":null,"packages_count":10,"html_url":null,"role":null,"created_at":"2022-11-14T17:22:38.906Z","updated_at":"2022-11-14T17:22:38.906Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers/rami.krispin@gmail.com/packages"}],"registry":{"name":"cran.r-project.org","url":"https://cran.r-project.org","ecosystem":"cran","default":true,"packages_count":27072,"maintainers_count":14827,"namespaces_count":0,"keywords_count":8457,"github":"r-project-org","metadata":{"funded_packages_count":525},"icon_url":"https://github.com/r-project-org.png","created_at":"2022-04-06T16:32:25.637Z","updated_at":"2026-01-22T08:54:07.302Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/cran.r-project.org/namespaces"}}],"commits":{"id":723982,"full_name":"RamiKrispin/UKgrid","default_branch":"master","total_commits":2,"total_committers":2,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":1.0,"dds":0.5,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-01-21T16:29:54.439Z","last_synced_commit":"7cfbd256bc00d21d264eedb86d62a8a610256cce","created_at":"2023-03-09T13:10:33.918Z","updated_at":"2026-01-21T16:29:41.259Z","committers":[{"name":"LiorKri","email":"liorkri@post.bgu.ac.il","login":"LiorKri","count":1},{"name":"Lior Krispin","email":"liorkrispin@Liors-mac.local","login":null,"count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-01-23T00:00:11.556Z","repositories_count":6168197,"commits_count":932636640,"contributors_count":36240145,"owners_count":1138596,"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":"RamiKrispin/UKgrid","html_url":"https://github.com/RamiKrispin/UKgrid","last_synced_at":"2026-01-06T18:01:23.851Z","status":"error","issues_count":6,"pull_requests_count":1,"avg_time_to_close_issue":2140855.3333333335,"avg_time_to_close_pull_request":null,"issues_closed_count":6,"pull_requests_closed_count":0,"pull_request_authors_count":1,"issue_authors_count":1,"avg_comments_per_issue":0.6666666666666666,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-09T10:37:21.809Z","updated_at":"2026-01-06T18:01:23.851Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamiKrispin%2FUKgrid/issues","issue_labels_count":{"enhancement":4,"task":2},"pull_request_labels_count":{},"issue_author_associations_count":{"OWNER":6},"pull_request_author_associations_count":{"NONE":2},"issue_authors":{"RamiKrispin":6},"pull_request_authors":{"olivroy":2},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-01-08T00:00:08.277Z","repositories_count":12680911,"issues_count":35908313,"pull_requests_count":117977037,"authors_count":11082298,"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":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[{"login":"RamiKrispin","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/RamiKrispin"}],"active_maintainers":[]},"events":{"total":{},"last_year":{}},"keywords":[],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2022-08-21T01:10:09.127Z","updated_at":"2022-08-21T01:10:09.127Z","repository_link":"https://github.com/RamiKrispin/UKgrid/blob/master/DESCRIPTION","dependencies":[{"id":2198312460,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 3.0.2","direct":true,"kind":"depends","optional":false},{"id":2198312461,"package_name":"data.table","ecosystem":"cran","requirements":"\u003e= 1.11.2","direct":true,"kind":"imports","optional":false},{"id":2198312462,"package_name":"dplyr","ecosystem":"cran","requirements":"\u003e= 0.7.5","direct":true,"kind":"imports","optional":false},{"id":2198312463,"package_name":"lubridate","ecosystem":"cran","requirements":"\u003e= 1.6.0","direct":true,"kind":"imports","optional":false},{"id":2198312464,"package_name":"magrittr","ecosystem":"cran","requirements":"\u003e= 1.5","direct":true,"kind":"imports","optional":false},{"id":2198312465,"package_name":"tsibble","ecosystem":"cran","requirements":"\u003e= 0.9.0","direct":true,"kind":"imports","optional":false},{"id":2198312466,"package_name":"xts","ecosystem":"cran","requirements":"\u003e= 0.12.0","direct":true,"kind":"imports","optional":false},{"id":2198312467,"package_name":"zoo","ecosystem":"cran","requirements":"\u003e= 1.8","direct":true,"kind":"imports","optional":false},{"id":2198312468,"package_name":"devtools","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2198312469,"package_name":"knitr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2198312470,"package_name":"rmarkdown","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2198312471,"package_name":"remotes","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2198312472,"package_name":"TSstudio","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":2198312473,"package_name":"testthat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":10.601821259783373,"created_at":"2023-09-11T14:52:09.117Z","updated_at":"2026-04-17T19:30:32.425Z","avatar_url":"https://github.com/RamiKrispin.png","language":"R","category":"Energy Systems","sub_category":"Energy Data Accessibility and Integration","monthly_downloads":715,"total_dependent_repos":1,"total_dependent_packages":1,"readme":"# UKgrid \u003ca href='https://ramikrispin.github.io/UKgrid/'\u003e\u003cimg src='man/figures/UKgrid.png' align=\"right\"  /\u003e\u003c/a\u003e\n\u003c!-- badges: start --\u003e\n[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)\n[![CRAN status](https://www.r-pkg.org/badges/version/UKgrid)](https://cran.r-project.org/package=UKgrid)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\u003c!-- badges: end --\u003e\n\n\n\n\nAn R data package with the UK [National Grid](https://en.wikipedia.org/wiki/National_Grid_(Great_Britain)) historical demand for electricity between April 2005 and October 2019\n\n\nOverview\n--------\nThe 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`. \n\nThe data was sourced from the National Grid UK [website](https://www.nationalgrid.com/uk)\n\n\u003cimg src=\"man/figures/UK_natioal_demand.png\" width=\"100%\" /\u003e\n\n\nInstallation\n------------\n\nInstall the stable version from [CRAN](https://CRAN.R-project.org/package=UKgrid):\n\n``` r\ninstall.packages(\"UKgrid\")\n```\n\nor install the development version from [Github](https://github.com/RamiKrispin/UKgrid):\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"RamiKrispin/UKgrid\")\n```\n\n\nUsage\n-----\n\n``` r\nlibrary(UKgrid)\n\n# Load the full dataset (data.frame format)\ndata(\"UKgrid\")\n\n# Extract only the demand field (ND - National Demand) using tsibble format\nextract_grid(type = \"tsibble\", \n             columns = \"ND\") \n\n# Extract the demand between 2016 and 2017 using tbl format\nextract_grid(type = \"tbl\", \n             columns = \"ND\", \n             start = 2016, \n             end = 2017)\n\n# Extract the first 10 days in 2018 and aggregate to hourly using zoo format\nextract_grid(type = \"zoo\", \n             columns = \"ND\", \n             start = as.Date(\"2018-01-01\"), \n             end = as.Date(\"2018-01-10\"),\n             aggregate = \"hourly\")\n``` \n\nMore details available on the package [site](https://ramikrispin.github.io/UKgrid/) and [vignette](https://ramikrispin.github.io/UKgrid/articles/UKgrid_vignette.html)\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://ost.ecosyste.ms/api/v1/projects/20029","html_url":"https://ost.ecosyste.ms/projects/20029"}