├── .Rbuildignore ├── .github ├── .gitignore ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── R-CMD-check.yml │ ├── lint-project.yml │ └── test-coverage.yml ├── .gitignore ├── DESCRIPTION ├── LICENSE ├── LICENSE.md ├── NAMESPACE ├── NEWS.md ├── R ├── data.R ├── en_balancing.R ├── en_congestion.R ├── en_generation.R ├── en_helpers.R ├── en_load.R ├── en_outages.R ├── en_transmission.R └── utils.R ├── README.md ├── data-raw ├── allocation_mode_types.R ├── allocation_mode_types.tsv ├── analog_types.R ├── analog_types.tsv ├── any_types_sourcer.R ├── asset_types.R ├── asset_types.tsv ├── auction_types.R ├── auction_types.tsv ├── business_types.R ├── business_types.tsv ├── category_types.R ├── category_types.tsv ├── classification_types.R ├── classification_types.tsv ├── coding_scheme_types.R ├── coding_scheme_types.tsv ├── contract_types.R ├── contract_types.tsv ├── coordinate_system_types.R ├── coordinate_system_types.tsv ├── currency_types.R ├── currency_types.tsv ├── curve_types.R ├── curve_types.tsv ├── direction_types.R ├── direction_types.tsv ├── eic_types.R ├── eic_types.tsv ├── energy_product_types.R ├── energy_product_types.tsv ├── entso-e-code-list-v92-tables.xlsx ├── entso-e-code-list-v92.pdf ├── fuel_types.R ├── fuel_types.tsv ├── hvdc_mode_types.R ├── hvdc_mode_types.tsv ├── indicator_types.R ├── indicator_types.tsv ├── market_product_types.R ├── market_product_types.tsv ├── message_types.R ├── message_types.tsv ├── object_aggregation_types.R ├── object_aggregation_types.tsv ├── payment_terms_types.R ├── payment_terms_types.tsv ├── price_category_types.R ├── price_category_types.tsv ├── price_component_types.R ├── price_component_types.tsv ├── price_direction_types.R ├── price_direction_types.tsv ├── process_types.R ├── process_types.tsv ├── quality_types.R ├── quality_types.tsv ├── reason_code_types.R ├── reason_code_types.tsv ├── rights_types.R ├── rights_types.tsv ├── role_types.R ├── role_types.tsv ├── status_types.R ├── status_types.tsv ├── tariff_types.R ├── tariff_types.tsv ├── timeframe_types.R ├── timeframe_types.tsv ├── transmission_pair_eic_dict.R ├── transmission_pair_eic_dict.tsv ├── unit_multiplier.R ├── unit_multiplier.tsv ├── unit_of_measure_types.R ├── unit_of_measure_types.tsv ├── unit_symbol_types.R ├── unit_symbol_types.tsv └── xlsx_to_tsv.R ├── data ├── allocation_mode_types.rda ├── analog_types.rda ├── asset_types.rda ├── auction_types.rda ├── business_types.rda ├── category_types.rda ├── classification_types.rda ├── coding_scheme_types.rda ├── contract_types.rda ├── coordinate_system_types.rda ├── currency_types.rda ├── curve_types.rda ├── direction_types.rda ├── eic_types.rda ├── energy_product_types.rda ├── fuel_types.rda ├── hvdc_mode_types.rda ├── indicator_types.rda ├── market_product_types.rda ├── message_types.rda ├── object_aggregation_types.rda ├── payment_terms_types.rda ├── price_category_types.rda ├── price_component_types.rda ├── price_direction_types.rda ├── process_types.rda ├── quality_types.rda ├── reason_code_types.rda ├── rights_types.rda ├── role_types.rda ├── status_types.rda ├── tariff_types.rda ├── timeframe_types.rda ├── transmission_pair_eic_dict.rda ├── unit_multiplier.rda ├── unit_of_measure_types.rda └── unit_symbol_types.rda ├── entsoeapi.Rproj ├── man ├── accounting_point_eic.Rd ├── all_approved_eic.Rd ├── allocation_mode_types.Rd ├── analog_types.Rd ├── area_eic.Rd ├── asset_types.Rd ├── auction_types.Rd ├── balancing_accepted_aggr_offers.Rd ├── balancing_activated_reserves.Rd ├── balancing_border_cap_limit.Rd ├── business_types.Rd ├── category_types.Rd ├── classification_types.Rd ├── coding_scheme_types.Rd ├── contract_types.Rd ├── coordinate_system_types.Rd ├── costs_of_congestion_management.Rd ├── countertrading.Rd ├── currency_types.Rd ├── curve_types.Rd ├── direction_types.Rd ├── eic_types.Rd ├── elastic_demands.Rd ├── energy_product_types.Rd ├── exchanged_volumes.Rd ├── figures │ └── logo.png ├── fuel_types.Rd ├── gen_day_ahead.Rd ├── gen_installed_capacity_per_pt.Rd ├── gen_installed_capacity_per_pu.Rd ├── gen_per_gen_unit.Rd ├── gen_per_prod_type.Rd ├── gen_storage_mean_filling_rate.Rd ├── gen_wind_solar_forecasts.Rd ├── hvdc_mode_types.Rd ├── indicator_types.Rd ├── load_actual_total.Rd ├── load_day_ahead_total_forecast.Rd ├── load_month_ahead_total_forecast.Rd ├── load_week_ahead_total_forecast.Rd ├── load_year_ahead_forecast_margin.Rd ├── load_year_ahead_total_forecast.Rd ├── location_eic.Rd ├── market_product_types.Rd ├── message_types.Rd ├── netted_volumes.Rd ├── object_aggregation_types.Rd ├── outages_both.Rd ├── outages_cons_units.Rd ├── outages_fallbacks.Rd ├── outages_gen_units.Rd ├── outages_offshore_grid.Rd ├── outages_prod_units.Rd ├── outages_transmission_grid.Rd ├── party_eic.Rd ├── payment_terms_types.Rd ├── price_category_types.Rd ├── price_component_types.Rd ├── price_direction_types.Rd ├── process_types.Rd ├── quality_types.Rd ├── reason_code_types.Rd ├── redispatching_internal.Rd ├── redispatching_x_border.Rd ├── resource_object_eic.Rd ├── rights_types.Rd ├── role_types.Rd ├── status_types.Rd ├── substation_eic.Rd ├── tariff_types.Rd ├── tie_line_eic.Rd ├── timeframe_types.Rd ├── transm_already_allocated_cap.Rd ├── transm_day_ahead_comm_sched.Rd ├── transm_day_ahead_prices.Rd ├── transm_day_ahead_transf_cap.Rd ├── transm_total_comm_sched.Rd ├── transm_total_nominated_cap.Rd ├── transm_x_border_phys_flow.Rd ├── transmission_pair_eic_dict.Rd ├── unit_multiplier.Rd ├── unit_of_measure_types.Rd └── unit_symbol_types.Rd └── tests ├── testthat.R └── testthat ├── test-en_balancing.R ├── test-en_congestion.R ├── test-en_generation.R ├── test-en_helpers.R ├── test-en_load.R ├── test-en_outages.R ├── test-en_transmission.R └── test-utils.R /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^.*\.Rproj$ 2 | ^\.Rproj\.user$ 3 | ^README\.Rmd$ 4 | ^data-raw$ 5 | sandbox/ 6 | ^LICENSE\.md$ 7 | ^\.github$ 8 | -------------------------------------------------------------------------------- /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: bug 6 | assignees: sbudai 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps, scripts and error messages to reproduce the behavior. 15 | 16 | **Screenshots** 17 | If applicable, add screenshots to help explain your problem. 18 | 19 | **Desktop (please complete the following information):** 20 | - OS and its version: [e.g. Windows 10, Fedora 40, MacOS Maverick] 21 | - R version 22 | - `entsoeapi` package version 23 | 24 | **Additional context** 25 | Add any other context about the problem here. 26 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: enhancement 6 | assignees: sbudai 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yml: -------------------------------------------------------------------------------- 1 | # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples 2 | # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help 3 | on: 4 | push: 5 | branches: 6 | - develop 7 | pull_request: 8 | branches: 9 | - master 10 | 11 | name: R-CMD-check.yml 12 | 13 | permissions: read-all 14 | 15 | jobs: 16 | R-CMD-check: 17 | runs-on: ${{ matrix.config.os }} 18 | 19 | name: ${{ matrix.config.os }} (${{ matrix.config.r }}) 20 | 21 | strategy: 22 | fail-fast: false 23 | matrix: 24 | config: 25 | - {os: macos-latest, r: 'release'} 26 | - {os: windows-latest, r: 'release'} 27 | - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} 28 | - {os: ubuntu-latest, r: 'release'} 29 | - {os: ubuntu-latest, r: 'oldrel-1'} 30 | 31 | env: 32 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} 33 | ENTSOE_PAT: ${{ secrets.ENTSOE_PAT }} 34 | R_KEEP_PKG_SOURCE: yes 35 | 36 | steps: 37 | - uses: actions/checkout@v4 38 | 39 | - uses: r-lib/actions/setup-pandoc@v2 40 | 41 | - uses: r-lib/actions/setup-r@v2 42 | with: 43 | r-version: ${{ matrix.config.r }} 44 | http-user-agent: ${{ matrix.config.http-user-agent }} 45 | use-public-rspm: true 46 | 47 | - uses: r-lib/actions/setup-r-dependencies@v2 48 | with: 49 | extra-packages: any::rcmdcheck 50 | needs: check 51 | 52 | - uses: r-lib/actions/check-r-package@v2 53 | with: 54 | upload-snapshots: true 55 | build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' 56 | -------------------------------------------------------------------------------- /.github/workflows/lint-project.yml: -------------------------------------------------------------------------------- 1 | # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples 2 | # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help 3 | on: 4 | push: 5 | branches: 6 | - develop 7 | pull_request: 8 | branches: 9 | - master 10 | 11 | name: lint-project.yml 12 | 13 | permissions: read-all 14 | 15 | jobs: 16 | lint-project: 17 | runs-on: ubuntu-latest 18 | env: 19 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} 20 | ENTSOE_PAT: ${{ secrets.ENTSOE_PAT }} 21 | 22 | steps: 23 | - uses: actions/checkout@v4 24 | 25 | - uses: r-lib/actions/setup-r@v2 26 | with: 27 | use-public-rspm: true 28 | 29 | - name: Install lintr 30 | run: install.packages("lintr") 31 | shell: Rscript {0} 32 | 33 | - name: Lint root directory 34 | run: lintr::lint_package() 35 | shell: Rscript {0} 36 | env: 37 | LINTR_ERROR_ON_LINT: false 38 | -------------------------------------------------------------------------------- /.github/workflows/test-coverage.yml: -------------------------------------------------------------------------------- 1 | # Workflow derived from https://github.com/r-lib/actions/tree/v2/examples 2 | # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help 3 | on: 4 | push: 5 | branches: 6 | - develop 7 | pull_request: 8 | branches: 9 | - master 10 | 11 | name: test-coverage.yml 12 | 13 | permissions: read-all 14 | 15 | jobs: 16 | test-coverage: 17 | runs-on: ubuntu-latest 18 | env: 19 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} 20 | ENTSOE_PAT: ${{ secrets.ENTSOE_PAT }} 21 | CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} 22 | 23 | steps: 24 | - uses: actions/checkout@v4 25 | 26 | - uses: r-lib/actions/setup-r@v2 27 | with: 28 | use-public-rspm: true 29 | 30 | - uses: r-lib/actions/setup-r-dependencies@v2 31 | with: 32 | extra-packages: any::covr, any::xml2 33 | needs: coverage 34 | 35 | - name: Test coverage 36 | run: | 37 | cov <- covr::package_coverage( 38 | quiet = FALSE, 39 | clean = FALSE, 40 | install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") 41 | ) 42 | covr::to_cobertura(cov) 43 | shell: Rscript {0} 44 | 45 | - uses: codecov/codecov-action@v4 46 | with: 47 | fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }} 48 | file: ./cobertura.xml 49 | plugin: noop 50 | disable_search: true 51 | token: ${{ secrets.CODECOV_TOKEN }} 52 | 53 | - name: Show testthat output 54 | if: always() 55 | run: | 56 | ## -------------------------------------------------------------------- 57 | find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true 58 | shell: bash 59 | 60 | - name: Upload test results 61 | if: failure() 62 | uses: actions/upload-artifact@v4 63 | with: 64 | name: coverage-test-failures 65 | path: ${{ runner.temp }}/package 66 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .Rhistory 2 | .RData 3 | .Rproj.user 4 | sandbox/ 5 | test-coverage.yml 6 | -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- 1 | Package: entsoeapi 2 | Type: Package 3 | Title: An R Wrapper for the European Network of Transmission System Operators for Electricity Application Programming Interface 4 | Version: 0.8.1.0 5 | Authors@R: c(person("Kenneth", "Rose", role="aut", email="kennethrose82@gmail.com"), 6 | person("Sándor", "Budai", role=c("aut", "cre"), email="sbudai.ga@gmail.com")) 7 | Description: Simple and standardized wrappers around Entso-E API's Load, Generation, 8 | Transmission, Balancing, Outages & Congestion Management endpoints to retrieve common data, 9 | and convert them into tabular format. 10 | License: MIT + file LICENSE 11 | Imports: 12 | cachem, 13 | data.table, 14 | dplyr, 15 | fs, 16 | httr, 17 | lubridate, 18 | purrr, 19 | snakecase, 20 | stringr, 21 | tibble, 22 | tidyr, 23 | tidyselect, 24 | utf8, 25 | utils, 26 | xml2, 27 | xmlconvert 28 | Encoding: UTF-8 29 | Language: en-US 30 | LazyData: true 31 | URL: https://github.com/krose/entsoeapi 32 | BugReports: https://github.com/krose/entsoeapi/issues 33 | Roxygen: list(markdown = TRUE) 34 | RoxygenNote: 7.3.1 35 | Depends: R (>= 4.1.0) 36 | Suggests: 37 | testthat (>= 3.0.0) 38 | Config/testthat/edition: 3 39 | Collate: 40 | 'data.R' 41 | 'utils.R' 42 | 'en_balancing.R' 43 | 'en_generation.R' 44 | 'en_helpers.R' 45 | 'en_load.R' 46 | 'en_outages.R' 47 | 'en_transmission.R' 48 | 'en_congestion.R' 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | YEAR: 2024 2 | COPYRIGHT HOLDER: entsoeapi authors 3 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | # MIT License 2 | 3 | Copyright (c) 2024 entsoeapi authors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- 1 | # Generated by roxygen2: do not edit by hand 2 | 3 | export(accounting_point_eic) 4 | export(all_approved_eic) 5 | export(area_eic) 6 | export(balancing_accepted_aggr_offers) 7 | export(balancing_activated_reserves) 8 | export(balancing_border_cap_limit) 9 | export(costs_of_congestion_management) 10 | export(countertrading) 11 | export(elastic_demands) 12 | export(exchanged_volumes) 13 | export(gen_day_ahead) 14 | export(gen_installed_capacity_per_pt) 15 | export(gen_installed_capacity_per_pu) 16 | export(gen_per_gen_unit) 17 | export(gen_per_prod_type) 18 | export(gen_storage_mean_filling_rate) 19 | export(gen_wind_solar_forecasts) 20 | export(load_actual_total) 21 | export(load_day_ahead_total_forecast) 22 | export(load_month_ahead_total_forecast) 23 | export(load_week_ahead_total_forecast) 24 | export(load_year_ahead_forecast_margin) 25 | export(load_year_ahead_total_forecast) 26 | export(location_eic) 27 | export(netted_volumes) 28 | export(outages_both) 29 | export(outages_cons_units) 30 | export(outages_fallbacks) 31 | export(outages_gen_units) 32 | export(outages_offshore_grid) 33 | export(outages_prod_units) 34 | export(outages_transmission_grid) 35 | export(party_eic) 36 | export(redispatching_internal) 37 | export(redispatching_x_border) 38 | export(resource_object_eic) 39 | export(substation_eic) 40 | export(tie_line_eic) 41 | export(transm_already_allocated_cap) 42 | export(transm_day_ahead_comm_sched) 43 | export(transm_day_ahead_prices) 44 | export(transm_day_ahead_transf_cap) 45 | export(transm_total_comm_sched) 46 | export(transm_total_nominated_cap) 47 | export(transm_x_border_phys_flow) 48 | importFrom(cachem,cache_mem) 49 | importFrom(stats,setNames) 50 | -------------------------------------------------------------------------------- /NEWS.md: -------------------------------------------------------------------------------- 1 | # entsoeapi v0.8.1.0 (2025-06-08) 2 | 3 | ## New functionality 4 | 5 | - New code list documents introduced from ENTSO-E code lists version 92: 6 | - `analog_types` 7 | - `coordinate_system_types` 8 | - `fuel_types` 9 | - `market_product_types` 10 | - `price_component_types` 11 | - `timeframe_types` 12 | - `unit_multiplier` 13 | 14 | ## Miscellaneous 15 | 16 | - The `document_types` code list table renamed to `message_types` to better reflect its content. 17 | - The ENTSO-E code lists updated from version 36 to version 92. Since it contains codes created recently, the result tables of queries may show new data. 18 | - If someone would like to use a not yet implemented endpoint/function, then notify us using the site. 19 | 20 | # entsoeapi v0.8.0.0 (2025-01-12) 21 | 22 | ## New functionality 23 | 24 | - None. 25 | 26 | ## Miscellaneous 27 | 28 | - The timeseries data have not converted to table correctly in every case. The 'A03' type curves were processed in 'A01' way. (See further details [here](https://eepublicdownloads.entsoe.eu/clean-documents/EDI/Library/cim_based/Introduction_of_different_Timeseries_possibilities__curvetypes__with_ENTSO-E_electronic_document_v1.4.pdf).) This issue has been fixed. 29 | - If someone would like to use a not yet implemented endpoint/function, then notify us using the site. 30 | 31 | # entsoeapi v0.7.3.2 (2025-01-06) 32 | 33 | ## New functionality 34 | 35 | - None. 36 | 37 | ## Miscellaneous 38 | 39 | - On some endpoints the `price` field name has changed to `price`.`amount` in the response XML. So we integrated the new field name into our `xml_to_table` engine. 40 | - If someone would like to use a not yet implemented endpoint/function, then notify us using the site. 41 | 42 | # entsoeapi v0.7.3.1 (2025-01-02) 43 | 44 | ## New functionality 45 | 46 | - None. 47 | 48 | ## Miscellaneous 49 | 50 | - The ...\_eic() functions fixed. (There had been a data source URL related issue.) 51 | - If someone would like to use a not yet implemented endpoint/function, then notify us using the site. 52 | 53 | # entsoeapi v0.7.3.0 (2024-12-16) 54 | 55 | ## New functionality 56 | 57 | - The `balancing_border_cap_limit()` query introduced. 58 | - The `exchanged_volumes()` query introduced. 59 | - The `netted_volumes()` query introduced. 60 | - The `elastic_demands()` query introduced. 61 | 62 | ## Miscellaneous 63 | 64 | - Further under the hood optimizations implemented. 65 | - If someone would like to use a not yet implemented one, then notify us using the site. 66 | 67 | # entsoeapi v0.7.2.0 (2024-10-22) 68 | 69 | ## New functionality 70 | 71 | - The user's `security_token` value is not displayed on console and in logs any more. 72 | - The `redispatching_internal()` query introduced. 73 | - The `redispatching_x_border()` query introduced. 74 | - The `countertrading()` query introduced. 75 | - The `costs_of_congestion_management()` query introduced. 76 | 77 | ## Miscellaneous 78 | 79 | - Under the hood optimizations (e.g. caching) implemented. 80 | - If someone would like to use a not yet implemented one, then notify us using the site. 81 | 82 | # entsoeapi v0.7.1.2 83 | 84 | ## Miscellaneous 85 | 86 | - Some under-the-hood improvements related to code syntax. 87 | 88 | # entsoeapi v0.7.1.1 89 | 90 | ## Miscellaneous 91 | 92 | - The README has adjusted to correspond to new function names. 93 | - Some under-the-hood improvements related to error handling. 94 | 95 | # entsoeapi v0.7.1.0 96 | 97 | ## New functionality 98 | 99 | - New endpoints/functions: 100 | - GENERATION 101 | - the gen_installed_capacity_per_pu (14.1.B) introduced 102 | - the gen_storage_mean_filling_rate (16.1.D) introduced 103 | 104 | ## Miscellaneous 105 | 106 | - Renamed endpoint/function: 107 | - GENERATION 108 | - the gen_installed_capacity (14.1.A) renamed to gen_installed_capacity_per_pt (14.1.A) 109 | 110 | # entsoeapi v0.7.0.0 111 | 112 | Earlier versions contain experimental versions of API query functions, with very few standardisation. 113 | 114 | ## New functionality 115 | 116 | - First standardised submission. 117 | - Already available ENTSO-E API endpoints: 118 | - BALANCING 119 | - balancing_accepted_aggr_offers (17.1.D) 120 | - balancing_activated_reserves (17.1.E) 121 | - GENERATION 122 | - gen_day_ahead (14.1.C) 123 | - gen_installed_capacity (14.1.A) 124 | - gen_per_gen_unit (16.1.A) 125 | - gen_per_prod_type (16.1.B&C) 126 | - gen_wind_solar_forecasts (14.1.D) 127 | - LOAD 128 | - load_actual_total (6.1.A) 129 | - load_day_ahead_total_forecast (6.1.B) 130 | - load_week_ahead_total_forecast (6.1.C) 131 | - load_month_ahead_total_forecast (6.1.D) 132 | - load_year_ahead_total_forecast (6.1.E) 133 | - load_year_ahead_forecast_margin (8.1) 134 | - UNAVAILABILITY 135 | - outages_gen_units (15.1.A&B) 136 | - outages_prod_units (15.1.C&D) 137 | - outages_both (15.1.A&B + 15.1.C&D) 138 | - outages_cons_units (7.1.A&B) 139 | - outages_fallbacks (IFs IN 7.2, mFRR 3.11, aFRR 3.10) 140 | - outages_offshore_grid (10.1.A&B) 141 | - outages_transmission_grid (10.1.A&B) 142 | - TRANSMISSION 143 | - transm_already_allocated_cap (12.1.C) 144 | - transm_day_ahead_comm_sched (12.1.F) 145 | - transm_day_ahead_prices (12.1.D) 146 | - transm_day_ahead_transf_cap (11.1) 147 | - transm_total_comm_sched (12.1.F) 148 | - transm_total_nominated_cap (12.1.B) 149 | - transm_x_border_phys_flow (12.1.G) 150 | -------------------------------------------------------------------------------- /R/data.R: -------------------------------------------------------------------------------- 1 | #' @title 2 | #' List Allocation Mode Types 3 | #' 4 | #' @examples 5 | #' 6 | #' library(entsoeapi) 7 | #' 8 | #' str(allocation_mode_types) 9 | #' 10 | "allocation_mode_types" 11 | 12 | 13 | 14 | #' @title 15 | #' List Asset Types 16 | #' 17 | #' @examples 18 | #' 19 | #' library(entsoeapi) 20 | #' 21 | #' str(asset_types) 22 | #' 23 | "asset_types" 24 | 25 | 26 | 27 | #' @title 28 | #' List Auction Types 29 | #' 30 | #' @examples 31 | #' 32 | #' library(entsoeapi) 33 | #' 34 | #' str(auction_types) 35 | #' 36 | "auction_types" 37 | 38 | 39 | 40 | #' @title 41 | #' List Business Types 42 | #' 43 | #' @examples 44 | #' 45 | #' library(entsoeapi) 46 | #' 47 | #' str(business_types) 48 | #' 49 | "business_types" 50 | 51 | 52 | 53 | #' @title 54 | #' List Category Types 55 | #' 56 | #' @examples 57 | #' 58 | #' library(entsoeapi) 59 | #' 60 | #' str(category_types) 61 | #' 62 | "category_types" 63 | 64 | 65 | 66 | #' @title 67 | #' List Classification Types 68 | #' 69 | #' @examples 70 | #' 71 | #' library(entsoeapi) 72 | #' 73 | #' str(classification_types) 74 | #' 75 | "classification_types" 76 | 77 | 78 | 79 | #' @title 80 | #' List Coding Scheme Types 81 | #' 82 | #' @examples 83 | #' 84 | #' library(entsoeapi) 85 | #' 86 | #' str(coding_scheme_types) 87 | #' 88 | "coding_scheme_types" 89 | 90 | 91 | 92 | #' @title 93 | #' List Contract Types 94 | #' 95 | #' @examples 96 | #' 97 | #' library(entsoeapi) 98 | #' 99 | #' str(contract_types) 100 | #' 101 | "contract_types" 102 | 103 | 104 | 105 | #' @title 106 | #' List Currency Types 107 | #' 108 | #' @examples 109 | #' 110 | #' library(entsoeapi) 111 | #' 112 | #' str(currency_types) 113 | #' 114 | "currency_types" 115 | 116 | 117 | 118 | #' @title 119 | #' List Curve Types 120 | #' 121 | #' @examples 122 | #' 123 | #' library(entsoeapi) 124 | #' 125 | #' str(curve_types) 126 | #' 127 | "curve_types" 128 | 129 | 130 | 131 | #' @title 132 | #' List Direction Types 133 | #' 134 | #' @examples 135 | #' 136 | #' library(entsoeapi) 137 | #' 138 | #' str(direction_types) 139 | #' 140 | "direction_types" 141 | 142 | 143 | 144 | #' @title 145 | #' List Message Types 146 | #' 147 | #' @examples 148 | #' 149 | #' library(entsoeapi) 150 | #' 151 | #' str(message_types) 152 | #' 153 | "message_types" 154 | 155 | 156 | 157 | #' @title 158 | #' List EIC Types 159 | #' 160 | #' @examples 161 | #' 162 | #' library(entsoeapi) 163 | #' 164 | #' str(eic_types) 165 | #' 166 | "eic_types" 167 | 168 | 169 | 170 | #' @title 171 | #' List Energy Product Types 172 | #' 173 | #' @examples 174 | #' 175 | #' library(entsoeapi) 176 | #' 177 | #' str(energy_product_types) 178 | #' 179 | "energy_product_types" 180 | 181 | 182 | 183 | #' @title 184 | #' List HVDC Mode Types 185 | #' 186 | #' @examples 187 | #' 188 | #' library(entsoeapi) 189 | #' 190 | #' str(hvdc_mode_types) 191 | #' 192 | "hvdc_mode_types" 193 | 194 | 195 | 196 | #' @title 197 | #' List Indicator Types 198 | #' 199 | #' @examples 200 | #' 201 | #' library(entsoeapi) 202 | #' 203 | #' str(indicator_types) 204 | #' 205 | "indicator_types" 206 | 207 | 208 | 209 | #' @title 210 | #' List Object Aggregation Types 211 | #' 212 | #' @examples 213 | #' 214 | #' library(entsoeapi) 215 | #' 216 | #' str(object_aggregation_types) 217 | #' 218 | "object_aggregation_types" 219 | 220 | 221 | 222 | #' @title 223 | #' List Payment Terms Types 224 | #' 225 | #' @examples 226 | #' 227 | #' library(entsoeapi) 228 | #' 229 | #' str(payment_terms_types) 230 | #' 231 | "payment_terms_types" 232 | 233 | 234 | 235 | #' @title 236 | #' List Price Category Types 237 | #' 238 | #' @examples 239 | #' 240 | #' library(entsoeapi) 241 | #' 242 | #' str(price_category_types) 243 | #' 244 | "price_category_types" 245 | 246 | 247 | 248 | #' @title 249 | #' List Price Direction Types 250 | #' 251 | #' @examples 252 | #' 253 | #' library(entsoeapi) 254 | #' 255 | #' str(price_direction_types) 256 | #' 257 | "price_direction_types" 258 | 259 | 260 | 261 | #' @title 262 | #' List Process Types 263 | #' 264 | #' @examples 265 | #' 266 | #' library(entsoeapi) 267 | #' 268 | #' str(process_types) 269 | #' 270 | "process_types" 271 | 272 | 273 | 274 | #' @title 275 | #' List Quality Types 276 | #' 277 | #' @examples 278 | #' 279 | #' library(entsoeapi) 280 | #' 281 | #' str(quality_types) 282 | #' 283 | "quality_types" 284 | 285 | 286 | 287 | #' @title 288 | #' List Reason Code Types 289 | #' 290 | #' @examples 291 | #' 292 | #' library(entsoeapi) 293 | #' 294 | #' str(reason_code_types) 295 | #' 296 | "reason_code_types" 297 | 298 | 299 | 300 | #' @title 301 | #' List Rights Types 302 | #' 303 | #' @examples 304 | #' 305 | #' library(entsoeapi) 306 | #' 307 | #' str(rights_types) 308 | #' 309 | "rights_types" 310 | 311 | 312 | 313 | #' @title 314 | #' List Role Types 315 | #' 316 | #' @examples 317 | #' 318 | #' library(entsoeapi) 319 | #' 320 | #' str(role_types) 321 | #' 322 | "role_types" 323 | 324 | 325 | 326 | #' @title 327 | #' List Status Types 328 | #' 329 | #' @examples 330 | #' 331 | #' library(entsoeapi) 332 | #' 333 | #' str(status_types) 334 | #' 335 | "status_types" 336 | 337 | 338 | 339 | #' @title 340 | #' List Tariff Types 341 | #' 342 | #' @examples 343 | #' 344 | #' library(entsoeapi) 345 | #' 346 | #' str(tariff_types) 347 | #' 348 | "tariff_types" 349 | 350 | 351 | 352 | #' @title 353 | #' List Unit of Measure Types 354 | #' 355 | #' @examples 356 | #' 357 | #' library(entsoeapi) 358 | #' 359 | #' str(unit_of_measure_types) 360 | #' 361 | "unit_of_measure_types" 362 | 363 | 364 | 365 | #' @title 366 | #' List Unit Symbol Types 367 | #' 368 | #' @examples 369 | #' 370 | #' library(entsoeapi) 371 | #' 372 | #' str(unit_symbol_types) 373 | #' 374 | "unit_symbol_types" 375 | 376 | 377 | 378 | #' @title 379 | #' List Transmission Pair EIC Dictionary 380 | #' 381 | #' @examples 382 | #' 383 | #' library(entsoeapi) 384 | #' 385 | #' str(transmission_pair_eic_dict) 386 | #' 387 | "transmission_pair_eic_dict" 388 | 389 | 390 | #' @title 391 | #' List Analog Types 392 | #' 393 | #' @examples 394 | #' 395 | #' library(entsoeapi) 396 | #' 397 | #' str(analog_types) 398 | #' 399 | "analog_types" 400 | 401 | 402 | #' @title 403 | #' List Coordinate System Types 404 | #' 405 | #' @examples 406 | #' 407 | #' library(entsoeapi) 408 | #' 409 | #' str(coordinate_system_types) 410 | #' 411 | "coordinate_system_types" 412 | 413 | 414 | #' @title 415 | #' List Fuel Types 416 | #' 417 | #' @examples 418 | #' 419 | #' library(entsoeapi) 420 | #' 421 | #' str(fuel_types) 422 | #' 423 | "fuel_types" 424 | 425 | 426 | #' @title 427 | #' List Market Product Types 428 | #' 429 | #' @examples 430 | #' 431 | #' library(entsoeapi) 432 | #' 433 | #' str(market_product_types) 434 | #' 435 | "market_product_types" 436 | 437 | 438 | #' @title 439 | #' List Price Component Types 440 | #' 441 | #' @examples 442 | #' 443 | #' library(entsoeapi) 444 | #' 445 | #' str(price_component_types) 446 | #' 447 | "price_component_types" 448 | 449 | 450 | #' @title 451 | #' List Timeframe Types 452 | #' 453 | #' @examples 454 | #' 455 | #' library(entsoeapi) 456 | #' 457 | #' str(timeframe_types) 458 | #' 459 | "timeframe_types" 460 | 461 | 462 | #' @title 463 | #' List Unit Multiplier 464 | #' 465 | #' @examples 466 | #' 467 | #' library(entsoeapi) 468 | #' 469 | #' str(unit_multiplier) 470 | #' 471 | "unit_multiplier" 472 | -------------------------------------------------------------------------------- /data-raw/allocation_mode_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | allocation_mode_types <- fs::path("data-raw", 3 | "allocation_mode_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(allocation_mode_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/allocation_mode_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Order by price with pro rata The allocation method is by price with eventual pro rata. 3 | A02 Order by price with first come - first served The allocation method is by price with eventual use of first come first served. 4 | A03 First come - First served The allocation method is first come first served. 5 | A04 Pro rata The allocation method is pro rata. 6 | -------------------------------------------------------------------------------- /data-raw/analog_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | analog_types <- fs::path("data-raw", 3 | "analog_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(analog_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/analog_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Flow This is the computed flow for the monitored element in the constraint situation ("N situation", "N-1 situation" ...) after the capacity calculation. The flow is expressed in A, %, or MW. 3 | A02 Permanent admissible transmission limit (PATL) The permanent load of transmission system elements which is allowed for an unlimited period and which does not cause physical damage to the transmission system elements as long as the defined threshold is respected. 4 | A03 Flow reliability margin This is the flow reliability margin for a given critical network element. The amount of MW or A that is reserved for this critical network element and shall not be used for the computed outage situation, in order to secure the power network. 5 | A04 Spanning margin value This is the margin that is taken into account when spanning (fall-back process) is applied. Spanning marginal value is an historical based parameter which specifies the amount of MW that reduces the RAM when spanning is applied. 6 | A05 Long term allocation margin This is the amount of MW that is added to the capacity of the critical network element in order to automatically include the long term allocation domain into the flow based domain. 7 | A06 Final adjustment margin value This is the margin that is manually added or subtracted to the capacity of the critical network element. A negative value for final adjustment value simulates the effect of an additional margin due to complex remedial actions (RA) which cannot be modeled and so calculated in the flow based parameter calculation. A positive value for FAV as a consequence of the verification phase of the flow based domain, leading to the need to reduce the margin on one or more CBs for system security reasons. 8 | A07 Transitory admissible transmission limit (TATL) The temporary overload of transmission system elements which is allowed for a limited period and which does not cause physical damage to the transmission system elements as long as the defined duration and thresholds are respected. 9 | A08 Long admissible flow This is the value, expressed in A or MW, that the overload flow in a network element shall not exceed for a duration no longer than the long duration. The long duration value depends on the TSO network operating rules. 10 | A09 Negative Final adjustment margin value This is the margin that is manually added to the capacity of the critical network element in order to simulate the effect of an additional margin due to complex remedial actions (RA) which cannot be modeled and so calculated in the flow based parameter calculation. 11 | A10 Minimum voltage level This is the minimum voltage that can be supported by a network element without involving a risk for the security of supply. 12 | A11 Maximum voltage level This is the maximum voltage that can be supported by a network element without involving a risk for the security of supply. 13 | A12 TATL after automatic RA The Transitory admissible transmission limit (TATL) which is allowed after an automatic Remedial Action (RA) has been applied. 14 | A13 TATL after curative RA The Transitory admissible transmission limit (TATL) which is allowed after a curative Remedial Action (RA) has been applied. 15 | A14 Computed Voltage This is the computed voltage for a given monitored element. 16 | A15 Zero-Balance flow This is the amount of power affected by a contingency that reflects a situation with a scheduled exchange of zero. 17 | A16 Available margin after remedial actions This is the available flow margin adjusted for the consideration of remedial actions in capacity calculation. 18 | A17 Loss Factor This is the loss factor for an asset. 19 | A18 Adjustment for minimum RAM This is the adjustment applied to the capacity of a branch to have a minimum RAM (Remaining Available Margin) available for commercial exchanges. 20 | A19 Tap changer The position of a Tap changer. 21 | A20 Regulator mode A measurement type indicating the control mode of a regulator, i.e. from voltage regulation to fixed MVAR regulation. 22 | A21 Regulator set-point The set-point of a regulator. A regulator can be a tap changer, a synchronous machine, a SVC or a shunt. 23 | A22 Reference Flow This is the amount of power affected by a contingency that reflects a situation with scheduled exchanges from a reference situation. 24 | A23 CO2 emission This is the CO2 emission from one or several assets. 25 | A24 Maximum admissible current (Imax) The maximum admissible current of a critical network element or a critical network element and contingency. 26 | A25 Individual value adjustment (IVA) Individual value adjustment resulting from TSO validation process. 27 | A26 Linear flow approximation (F0) The linear approximation of a flow in the reference net position in a situation without any cross-zonal exchanges. 28 | A27 Flow without commercial exchanges (F0_Wce) Flow per critical network element and contingency without commercial exchanges within a capacity calculation region. 29 | A28 Flow without commercial exchanges between areas (F0_all) Flow per critical network element and contingency without commercial exchanges between bidding zones within the same or different synchronous areas. 30 | A29 Flow due to non-costly remedial actions (F_nrao) Expected flow change due to non-costly remedial actions. 31 | A30 Flow after long-term nominations (F_LTN) Flow after consideration of long-term nominations. 32 | A31 Coordinated value adjustment (CVA) Coordinated value adjustment resulting from coordinated validation process. 33 | A32 Minimum remaining available margin as ratio of maximum allowable power flow (Ramr) Percentage of the maximum allowable power flow that needs to be available as minimum Remaining Available Margin. 34 | A33 Flows from already allocated cross-zonal capacities (Faac) Flows resulting from previously allocated cross-zonal capacities. 35 | A34 Flow from remedial action (FRA) Flow for increasing the Remaining Available Margin due to remedial action. 36 | A35 Assumed external exchanges Flow resulting from assumed commercial exchanges outside the region (F_uaf). 37 | A36 Minimum remaining available margin target Target capacity for exchanges by deducing the exchanges not related to the region. 38 | A37 Average voltage Average voltage on two connecting nodes of a critical network element resulting from AC load flow calculation with applied reactive power constraints (U). 39 | A38 Average power factor Average power factor on two connecting nodes of a critical network element resulting from AC load flow calculation (cos phi). 40 | A39 Lower ramp rate The maximum rate that the output can be lowered by. 41 | A40 Raise ramp rate The maximum rate that the output can be raised by. 42 | A41 Negative reference flow The amount of power negatively affected by a contingency that reflects a situation with scheduled exchanges from a reference situation. 43 | A42 Negative flow due to non-costly remedial actions Negative expected flow change due to non-costly remedial actions. 44 | -------------------------------------------------------------------------------- /data-raw/any_types_sourcer.R: -------------------------------------------------------------------------------- 1 | fs::dir_ls( 2 | path = "data-raw", 3 | regexp = "\\/.+_types\\.R|transmission_pair_eic_dict\\.R|unit_multiplier\\.R" 4 | ) |> 5 | purrr::walk(source) 6 | -------------------------------------------------------------------------------- /data-raw/asset_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | asset_types <- fs::path("data-raw", 3 | "asset_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(asset_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/auction_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | auction_types <- fs::path("data-raw", 3 | "auction_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(auction_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/auction_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Implicit The auction is an implicit auction. 3 | A02 Explicit The auction is an explicit auction. 4 | A03 Rule Based The auction is a rule based auction. 5 | A04 Mixed The auction is partially implicit and partially explicit. 6 | A05 Explicit/split The auction concerns two explicit auctions on a split border. 7 | A06 Shadow auction An explicit auction carried out in the case of the failure of an implicit auction. 8 | A07 Flow-based The allocation is an implicit auction using flow-based capacity calculation. 9 | A08 Continuous The auction type is continuous, i.e. there is no gate closure time when bids from the market participants are collected. Instead allocation procedure takes place immediately. 10 | -------------------------------------------------------------------------------- /data-raw/business_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | business_types <- fs::path("data-raw", 3 | "business_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(business_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/category_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | category_types <- fs::path("data-raw", 3 | "category_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(category_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/category_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Base The auction is for a base period. 3 | A02 Peak The auction is for a peak period. 4 | A03 Off peak The auction is for an off peak period. 5 | A04 Hourly The auction is for an hourly period. 6 | -------------------------------------------------------------------------------- /data-raw/classification_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | classification_types <- fs::path("data-raw", 3 | "classification_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(classification_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/classification_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Detail type The Time Series content provides detailed information. 3 | A02 Summary type The Time Series content provides aggregated information. 4 | -------------------------------------------------------------------------------- /data-raw/coding_scheme_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | coding_scheme_types <- fs::path("data-raw", 3 | "coding_scheme_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(coding_scheme_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/coding_scheme_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 EIC The coding scheme is the Energy Identification Coding Scheme (EIC), maintained by ENTSO-E. 3 | A02 CGM The coding scheme used for Common Grid Model Exchange Standard (CGMES). 4 | A10 Coding scheme which are part of GS1 system The coding schemes maintained by GS1. 5 | NAD Andorra National coding scheme The National coding scheme of the country in question. 6 | NAL Albania National coding scheme The National coding scheme of the country in question. 7 | NAM Armenia National coding scheme The National coding scheme of the country in question. 8 | NAT Austria National coding scheme The National coding scheme of the country in question. 9 | NAZ Azerbaijan National coding scheme The National coding scheme of the country in question. 10 | NBA Bosnia and Herzegovina National coding scheme The National coding scheme of the country in question. 11 | NBE Belgium National coding scheme The National coding scheme of the country in question. 12 | NBG Bulgaria National coding scheme The National coding scheme of the country in question. 13 | NCH Switzerland National coding scheme The National coding scheme of the country in question. 14 | NCS Serbia and Montenegro National coding scheme The National coding scheme of the country in question. 15 | NCY Cyprus National coding scheme The National coding scheme of the country in question. 16 | NCZ Czech Republic National coding scheme The National coding scheme of the country in question. 17 | NDE Germany National coding scheme The National coding scheme of the country in question. 18 | NDK Denmark National coding scheme The National coding scheme of the country in question. 19 | NEE Estonia National coding scheme The National coding scheme of the country in question. 20 | NES Spain National coding scheme The National coding scheme of the country in question. 21 | NFI Finland National coding scheme The National coding scheme of the country in question. 22 | NFR France National coding scheme The National coding scheme of the country in question. 23 | NGB United Kingdom National coding scheme The National coding scheme of the country in question. 24 | NGE Georgia National coding scheme The National coding scheme of the country in question. 25 | NGI Gibraltar National coding scheme The National coding scheme of the country in question. 26 | NGR Greece National coding scheme The National coding scheme of the country in question. 27 | NHR Croatia National coding scheme The National coding scheme of the country in question. 28 | NHU Hungary National coding scheme The National coding scheme of the country in question. 29 | NIE Ireland National coding scheme The National coding scheme of the country in question. 30 | NIT Italy National coding scheme The National coding scheme of the country in question. 31 | NKG Kyrgyzstan National coding scheme The National coding scheme of the country in question. 32 | NKZ Kazakhstan National coding scheme The National coding scheme of the country in question. 33 | NLI Liechtenstein National coding scheme The National coding scheme of the country in question. 34 | NLT Lithuania National coding scheme The National coding scheme of the country in question. 35 | NLU Luxembourg National coding scheme The National coding scheme of the country in question. 36 | NLV Latvia National coding scheme The National coding scheme of the country in question. 37 | NMA Morocco National coding scheme The National coding scheme of the country in question. 38 | NMD Moldavia National coding scheme The National coding scheme of the country in question. 39 | NMK Macedonia National coding scheme The National coding scheme of the country in question. 40 | NNL Netherlands National coding scheme The National coding scheme of the country in question. 41 | NNN Nordic Regional coding scheme The coding scheme of the Nordic region which covers Denmark, Finland, Norway and Sweden. 42 | NNO Norway National coding scheme The National coding scheme of the country in question. 43 | NPL Poland National coding scheme The National coding scheme of the country in question. 44 | NPT Portugal National coding scheme The National coding scheme of the country in question. 45 | NRO Romania National coding scheme The National coding scheme of the country in question. 46 | NRU Russian Federation National coding scheme The National coding scheme of the country in question. 47 | NSE Sweden National coding scheme The National coding scheme of the country in question. 48 | NSI Slovenia National coding scheme The National coding scheme of the country in question. 49 | NSK Slovakia National coding scheme The National coding scheme of the country in question. 50 | NTR Turkey National coding scheme The National coding scheme of the country in question. 51 | NUA Ukraine National coding scheme The National coding scheme of the country in question. 52 | -------------------------------------------------------------------------------- /data-raw/contract_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | contract_types <- fs::path("data-raw", 3 | "contract_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(contract_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/contract_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Daily contract The condition under which capacity is allocated and handled is by daily auction or a daily transmission allocation procedure. 3 | A02 Weekly contract The condition under which capacity is allocated and handled is by weekly auction or a weekly transmission allocation procedure. 4 | A03 Monthly contract The condition under which capacity is allocated and handled is by monthly auction or a monthly transmission allocation procedure. 5 | A04 Yearly contract The condition under which capacity is allocated and handled is by yearly auction or a yearly transmission allocation procedure. 6 | A05 Total contract This is the sum of all capacity contract types for the period covered. 7 | A06 Long term contract The condition under which capacity is allocated and handled is by long term trade agreements according to European regulations (EU Directive 1228/2003). 8 | A07 Intraday contract The condition under which the capacity is allocated and handled is through an intraday auction and allocation process. 9 | A08 Quarter yearly contract The condition under which capacity is allocated and handled is by quarter yearly auction or a quarter yearly transmission allocation procedure. 10 | A09 Semestrial contract The condition under which capacity is allocated and handled is by half yearly auction or a half yearly transmission allocation procedure. 11 | A10 Multiple year contract The condition under which capacity is allocated and handled is by multiple year auctions. 12 | A11 Intraday balancing mechanism contract The condition under which the capacity is allocated and handled is through intraday energy balancing services. 13 | A12 Historical contract A Contract established before the EU directive that are valid until the term of the contract. 14 | A13 Hourly contract The condition under which capacity is allocated and handled is by hourly auctions. 15 | A14 First intraday auction contract The first intraday auction contract (IDA1). 16 | A15 Second intraday auction contract The second intraday auction contract (IDA2). 17 | A16 Third intraday auction contract The third intraday auction contract (IDA3). 18 | -------------------------------------------------------------------------------- /data-raw/coordinate_system_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | coordinate_system_types <- fs::path("data-raw", 3 | "coordinate_system_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(coordinate_system_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/coordinate_system_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 ED50 ED 50 (European Datum 1950) is a geodetic datum which was defined after World War II for the international connection of geodetic networks. 3 | A02 OSGB36 Ordinance Survey Great Britain 1936. The Ordinance Survey (OS) devised the national grid reference system, and it is heavily used in their survey data, and in maps (whether published by the Ordinance Survey or commercial map producers) based on those surveys. 4 | A03 WGS84 The World Geodetic System version 1984. for use in cartography, geodesy, and navigation including by GPS. It comprises a standard coordinate system for the earth, a standard spheroidal reference surface (the datum or reference ellipsoid) for raw altitude data, and a gravitational equipotential surface (the geoid) that defines the nominal sea level. 5 | A04 GTRF Galileo Terrestrial Reference Frame 6 | -------------------------------------------------------------------------------- /data-raw/currency_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | currency_types <- fs::path("data-raw", 3 | "currency_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(currency_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/currency_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | BAM Bosnian convertible marka The Legal tender of Bosnia and Herzegovina. 3 | BGN Bulgarian lev The Legal tender of Bulgaria. 4 | CHF Swiss Franc The Legal tender of Switzerland. 5 | CZK Czech Koruna The legal tender of the Czech Republic. 6 | DKK Danish Kroner The Legal tender of Denmark. 7 | EUR EURO The European legal tender. 8 | GBP Pound Sterling The Legal tender of the United Kingdom. 9 | HRK Croatian kuna The legal tender of Croatia. 10 | HUF Hungarian Forint The Legal tender of Hungary. 11 | ISK Icelandic krona The Legal tender of Iceland. 12 | LEK Albanian lek The Legal tender of Albania. 13 | LTL Lithuanian litas The Legal tender of Lithuania 14 | MKD Macedonian denar The Legal tender of FYROM. 15 | NOK Norwegian Kroner The Legal tender of Norway. 16 | PLN Polish zloty The Legal tender of Poland. 17 | RON Romanian Leu The Legal tender of Romania. 18 | RSD Serbian dinar The Legal tender of Serbian Republic. 19 | SAR Saudi Arabian Riyal The Legal tender of Saudi Arabia. 20 | SEK Swedish kroner The Legal tender of Sweden. 21 | SKK Slovak Koruna The legal tender of Slovakia. 22 | TRY New Turkish Lira The Legal tender of Turkey. 23 | UAH Ukrainian hryvnia The legal tender of Ukraine. 24 | USD US Dollar The legal tender of the USA. 25 | -------------------------------------------------------------------------------- /data-raw/curve_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | curve_types <- fs::path("data-raw", 3 | "curve_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(curve_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/curve_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Sequential fixed size block The curve is made of successive Intervals of time (Blocks) of constant duration (size), where the size of the Blocks is equal to the Resolution of the Period. 3 | A02 Point The curve is made of successive instants of time (Points). 4 | A03 Variable sized Block The curve is made of successive Intervals of time (Blocks) of variable duration (size), where the end date and end time of each Block are equal to the start date and start time of the next Interval. For the last Block the end date and end time of the last Interval would be equal to EndDateTime of TimeInterval. 5 | A04 Overlapping breakpoint The curve is made of successive Intervals of time of variable duration (size), where the end date and end time of each interval are equal to the start date and start time of the next Interval. 6 | A05 Non-overlapping breakpoint This curve is a restriction of the curve type A04, i.e. overlapping breakpoints. The restriction is that a single Period is allowed. 7 | -------------------------------------------------------------------------------- /data-raw/direction_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | direction_types <- fs::path("data-raw", 3 | "direction_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(direction_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/direction_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 UP Up signifies that the available power can be used by the Purchasing area to increase energy. 3 | A02 DOWN Down signifies that the available power can be used by the Purchasing area to decrease energy. 4 | A03 UP and DOWN Up and Down signifies that the UP and Down values are equal. 5 | A04 Stable The direction at a given instant in time is considered to be stable. 6 | -------------------------------------------------------------------------------- /data-raw/eic_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | eic_types <- fs::path("data-raw", 3 | "eic_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(eic_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/eic_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A Substation An EIC code to substations. 3 | T Tieline An EIC code to identify tielines. 4 | V Location An EIC code to identify locations. 5 | W Resource Object An EIC code to identify resource objects. 6 | X Party An EIC code to identify parties. 7 | Y Area or Domain An EIC code to identify areas or domains. 8 | Z Measurement point An EIC code to identify measurement points. 9 | -------------------------------------------------------------------------------- /data-raw/energy_product_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | energy_product_types <- fs::path("data-raw", 3 | "energy_product_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | dplyr::mutate(Code = as.character(Code)) |> 7 | purrr::modify_if(is.character, trimws, which = "both") |> 8 | purrr::discard(~is.na(.x) |> all()) 9 | 10 | # save the package data in the correct format 11 | usethis::use_data(energy_product_types, overwrite = TRUE) 12 | -------------------------------------------------------------------------------- /data-raw/energy_product_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | 8716867000016 Active power The product of voltage and the in-phase component of alternating current measured in units of watts and standard multiples thereof. 3 | 8716867000023 Reactive power The product of voltage and current and the sine of the phase angle between them, measured in units of voltamperes reactive and standard multiples thereof. (not used for planned schedules). 4 | 8716867000030 Active energy The electrical energy produced, flowing or supplied by an electrical circuit during a time interval, being the integral with respect to time of instantaneous active power, measured in units of watt-hours, or standard multiples thereof. 5 | 8716867000047 Reactive energy The integral with respect to time of reactive power (not used for planned schedules). 6 | 8716867000115 Capacitive reactive power Capacitive reactive power. 7 | 8716867000122 Inductive reactive power Inductive reactive power. 8 | 8716867000139 Capacitive Reactive energy Capacitive reactive energy. 9 | 8716867000146 Inductive Reactive energy Inductive reactive energy. 10 | 8716867009911 Water For hydro power stations, this enables the identification of the quantity of water stored behind a dam (volume, head level, etc.), or the constraints in the flow of water. 11 | -------------------------------------------------------------------------------- /data-raw/entso-e-code-list-v92-tables.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data-raw/entso-e-code-list-v92-tables.xlsx -------------------------------------------------------------------------------- /data-raw/entso-e-code-list-v92.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data-raw/entso-e-code-list-v92.pdf -------------------------------------------------------------------------------- /data-raw/fuel_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | fuel_types <- fs::path("data-raw", 3 | "fuel_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(fuel_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/fuel_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Unspecified Fuel that cannot be associated with any of available fuel codes. 3 | A02 Renewable solid unspecified Fuel produced in a solid form from renewable resources that cannot be associated with any of available renewable solid fuel codes. 4 | A03 Renewable solid municipal waste Solid waste of biological material produced by households, hospitals and the tertiary sector (in general all waste that resembles household waste). 5 | A04 Renewable solid industrial and commercial waste Solid waste generated by businesses, production units, bureaus and offices. 6 | A05 Renewable solid wood S olid wood energy resource. 7 | A06 Renewable solid animal fats Solid animal fats energy resource. 8 | A07 Renewable solid biomass from agriculture Solid by-products and residues from agriculture. 9 | A08 Renewable liquid unspecified Fuel produced in form of liquid from renewable resources that cannot be associated with any of available renewable liquid fuel codes. 10 | A09 Renewable liquid municipal biodegradable waste Liquid municipal waste capable of undergoing anaerobic or aerobic decomposition. 11 | A10 Renewable liquid black liquor Alkaline-spent liquor obtained from the digesters during the production of sulphate or soda pulp. 12 | A11 Renewable liquid pure plant oil Oil produced from plants, mainly from rapeseed and sunflower crops. 13 | A12 Renewable liquid waste plant oil Oil produced from plants that is no longer usable for its originally intended purpose. 14 | A13 Renewable liquid refined vegetable oil Oil produced from plants and transformed into fuel by refining process (hydrocracking or hydrogenation). 15 | A14 Renewable gaseous unspecified Fuel produced in form of gas from renewable resources that cannot be associated with any of available renewable gaseous fuel codes. 16 | A15 Renewable gaseous landfill gas Gas produced by digestion of land filled waste. 17 | A16 Renewable gaseous sewage gas Gas produced from the anaerobic fermentation of sewage sludge. 18 | A17 Renewable gaseous agricultural gas Gas produced from agricultural processes. 19 | A18 Renewable gaseous gas from organic waste digestion Gas produced by anaerobic digestion process from organic waste. 20 | A19 Renewable gaseous process gas Gas produced by an industrial process as a consequence. 21 | A20 Renewable gaseous other biogenic sources Gas produced by form of biogenic resource transformation that cannot be associated with any of available renewable gaseous fuel codes that use biogenic energy resource. 22 | A21 Renewable heating and cooling solar Sunlight energy source. 23 | A22 Renewable heating and cooling geothermal Geothermal energy source. 24 | A23 Renewable heating and cooling aerothermal Thermal energy obtained from air. 25 | A24 Renewable heating and cooling hydrothermal Thermal energy obtained from large body of water. 26 | A25 Renewable heating and cooling process heat Thermal energy obtained from process heat. 27 | A26 Renewable mechanical unspecified Energy from renewable resource transformed into mechanical energy that cannot be associated with any of available renewable mechanical fuel codes. 28 | A27 Renewable mechanical wind Kinetic energy of wind transformed into mechanical energy. 29 | A28 Renewable mechanical hydro and marine Falling or flowing water energy or energy derived from tidal movement, wave motion or ocean current. 30 | A29 Fossil unspecified Unspecified fossil energy source. 31 | A30 Fossil solid unspecified Unspecified fossil solid energy source. 32 | A31 Fossil solid hard coal Hard coal solid fossil energy source. This includes Anthracite, Bituminous coal, Coking coal, Coke-oven coke and Lignite coke. 33 | A32 Fossil solid brown coal Brown coal solid fossil energy source. This includes Sub-bituminous coal, Lignite, Brown coal briquette and Peat briquette. 34 | A33 Fossil solid peat Solid fossil peat energy source. 35 | A34 Fossil solid municipal waste Solid fossil municipal waste energy source. 36 | A35 Fossil solid industrial and commercial waste Solid fossil industrial and commercial waste energy source. 37 | A36 Fossil liquid unspecified Unspecified fossil liquid energy source. 38 | A37 Fossil liquid crude oil Liquid crude oil fossil energy source. This includes shale oil or other types. 39 | A38 Fossil liquid natural gas liquids (NGL) Liquid natural gas liquids (NGL) fossil energy source. 40 | A39 Fossil liquid petroleum products Liquid petroleum products energy source. This includes Ethane,Naphtha, Aviation gasoline , Motor gasoline, Aviation turbine fuel,Other kerosene,Gas/diesel oil , Fuel oil, low sulphur ,Fuel oil, high sulphur ,Liquid Petroleum Gas , Orimulsion , Bitumen ,Lubricants ,Petroleum coke , Refinery Feedstock. 41 | A40 Fossil gaseous unspecified Unspecified fossil gaseous energy source. 42 | A41 Fossil gaseous natural gas Fossil gaseous natural gas energy source. 43 | A42 Fossil gaseous coal-derived gas Fossil gaseous coal-derived gas energy source. This includes Blast furnace gas,Coke-oven gas or other types. 44 | A43 Fossil gaseous petroleum products Fossil gaseous petroleum products energy source. This includes Propane, Butane, Refinery gas, Chemical waste gas or other types. 45 | A44 Fossil gaseous municipal gas plant Fossil gaseous municipal gas plant energy source. 46 | A45 Fossil gaseous process gas Fossil gaseous process gas energy source. This includes Carbon monoxide, Methane , Hydrogen (fossil sourced) ,Phosphor gas ,Oxy gas and other types. 47 | A46 Fossil heat unspecified Unspecified fossil heat energy source. 48 | A47 Fossil heat process heat Fossil process heat energy source. 49 | A48 Nuclear solid radioactive fuel Solid Nuclear radioactive energy source. This includes UOX, AGR, MOX or other types. 50 | A49 Gas synthesis unspecified Unspecified gas synthesis energy source. 51 | A50 Gas synthesis furnace gas Gas synthesis from furnace gas energy source. 52 | A51 Waste heat and cold unspecified Unspecified Waste heat and cold energy source. 53 | A52 Waste heat and cold By-product in industrial installation Waste heat and cold from by-product in industrial installation energy source. 54 | A53 Waste heat and cold By-product in power generation Waste heat and cold from by-product in power generation energy source. 55 | A54 Waste heat and cold By-product in tertiary sector Waste heat and cold from by-product in tertiary sector energy source. 56 | A55 Hydrogen Hydrogen energy source. 57 | -------------------------------------------------------------------------------- /data-raw/hvdc_mode_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | hvdc_mode_types <- fs::path("data-raw", 3 | "hvdc_mode_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(hvdc_mode_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/hvdc_mode_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Setpoint schedule The code for the "power setpoint" mode of operation of the HVDC link. 3 | A02 Proportional external signal The code for the "Proportional external signal" mode of operation of the HVDC link. 4 | A03 AC emulation The code for the "AC emulation" mode of operation of the HVDC link. 5 | -------------------------------------------------------------------------------- /data-raw/indicator_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | indicator_types <- fs::path("data-raw", 3 | "indicator_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(indicator_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/indicator_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 YES A positive indication. 3 | A02 NO A negative indication. 4 | -------------------------------------------------------------------------------- /data-raw/market_product_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | market_product_types <- fs::path("data-raw", 3 | "market_product_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(market_product_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/market_product_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Standard balancing product A harmonised balancing product defined by all TSOs for the exchange of balancing services. 3 | A02 Specific balancing product A product different from a standard product. 4 | A03 Product from integrated scheduling process From the EBGL Article 2 (19), means an iterative process that uses at least integrated scheduling process bids that contain commercial data, complex technical data of individual power generating facilities or demand facilities and explicitly includes the start-up characteristics, the latest control area adequacy analysis and the operational security limits as an input to the process. 5 | A04 Local balancing product A balancing product that is neither standard nor specific. This type may be applicable only in the interim period until standard and specific products have been defined within the given scheduling area. 6 | A05 Standard mFRR product eligible for scheduled activation Standard mFRR product eligible for scheduled activation. 7 | A06 Standard mFRR product eligible for direct activation Standard mFRR product eligible for direct activation. 8 | A07 Standard mFRR product eligible for direct and scheduled activation Standard mFRR product eligible for direct as well as scheduled activation. 9 | A08 Market wide resource capacity mechanism This is a market-wide resource capacity mechanism where all resource capacity required to ensure security of supply receives payment. These mechanisms are open for participation to all capacity resources contributing to adequacy. 10 | A09 Strategic reserve resource capacity mechanism This is a market resource capacity mechanism that is kept outside of the electricity market and only used if the market participants do not offer enough generation to meet short-term demand. 11 | A10 Other resource capacity mechanism This is any other kind of market resource capacity mechanism. 12 | A11 Fast activation product The fast activation product shall be considered as a fall-back solution for situations where coordination with all parties is no longer possible due to insufficient time and the regular product could not be properly applied. 13 | A12 Remedial Action Cost Sharing Polluter Pays Cost sharing of coordinated remedial action measures (redispatch and countertrading) under the polluter pays principle. 14 | -------------------------------------------------------------------------------- /data-raw/message_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | message_types <- fs::path("data-raw", 3 | "message_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(message_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/object_aggregation_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | object_aggregation_types <- fs::path("data-raw", 3 | "object_aggregation_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(object_aggregation_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/object_aggregation_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Area The object being described concerns an area. 3 | A02 Metering point The object being described concerns a metering point. 4 | A03 Party The object being described concerns a party. 5 | A04 Agreement Identification The object being described concerns an agreement identification. 6 | A05 Accounting point The object being described concerns an accounting point. 7 | A06 Resource Object The object being described concerns a resource object. 8 | A07 Tieline The object being described concerns a tieline. 9 | A08 Resource type The object being described concerns a resource type. 10 | A09 DC link The object being described concerns a DC link. 11 | A10 AC link The object being described concerns an AC link. 12 | A11 Merchant line The object being described concerns a merchant line. 13 | A12 Bidding zone The largest geographical area within which market participants are able to exchange energy without capacity allocation. 14 | A13 Virtual bidding zone A non-geographical bidding zone to be able to apply extra constraints to Bidding Zones. 15 | A14 Metering grid area A physical area where consumption, production and exchange can be measured. It is delimited by the placement of meters for continuous measurement for input to, and withdrawal from the area. 16 | A15 Scheduling area An area within which the TSOs' obligations regarding scheduling apply due to operational or organisational needs. 17 | A16 Exchange point The object being described concerns an exchange point. 18 | -------------------------------------------------------------------------------- /data-raw/payment_terms_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | payment_terms_types <- fs::path("data-raw", 3 | "payment_terms_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(payment_terms_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/payment_terms_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Pay as bid The amount to be paid shall correspond to the amount bid. 3 | A02 Pay as cleared The amount to be paid shall correspond to the amount calculated for clearing. 4 | A03 No payment terms There are no payment terms to be used. 5 | -------------------------------------------------------------------------------- /data-raw/price_category_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | price_category_types <- fs::path("data-raw", 3 | "price_category_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(price_category_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/price_category_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Category 1 A category one price calculation is to be applied. 3 | A02 Category 2 A category two price calculation is to be applied. 4 | A03 Category 3 A category three price calculation is to be applied. 5 | A04 Excess balance The category concerns excess balance. 6 | A05 Insufficient balance A category concerns insufficient balance. 7 | A06 Average bid price The average bid price for a given product. 8 | A07 Single marginal bid price The downwards activated bid price or the upwards activated bid price for activated balancing reserves. 9 | A08 Cross-border marginal price The price determined in accordance with article 3 of the methodology for pricing balancing energy. 10 | -------------------------------------------------------------------------------- /data-raw/price_component_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | price_component_types <- fs::path("data-raw", 3 | "price_component_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(price_component_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/price_component_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Scarcity A scarcity component to be used in nationally defined scarcity situations. 3 | A02 Incentive An incentive component to be used to fulfil nationally defined boundary conditions. 4 | A03 Financial neutrality A component related to the financial neutrality of the connecting TSO. 5 | -------------------------------------------------------------------------------- /data-raw/price_direction_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | price_direction_types <- fs::path("data-raw", 3 | "price_direction_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(price_direction_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/price_direction_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Expenditure. Expenditure, i.e. the Impacted Area System Operator pays to the internal Market Parties. 3 | A02 Income. Income, i.e. The Impacted Area System Operator receives from the internal Market Parties. 4 | -------------------------------------------------------------------------------- /data-raw/process_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | process_types <- fs::path("data-raw", 3 | "process_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8", fill = TRUE) |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(process_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/quality_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | quality_types <- fs::path("data-raw", 3 | "quality_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(quality_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/quality_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Adjusted The contents of the object have been adjusted. 3 | A02 Not available The contents of the object are not available. 4 | A03 Estimated The contents of the object are estimated. The code is typically used when measured values are missing and an estimate is made based on historical data. 5 | A04 As provided The contents of the object are as provided. 6 | A05 Incomplete The contents of the object are calculated based on incomplete data. 7 | A06 Calculated The contents of the object are calculated. The code is typically used when a value is calculated based on several other known values. 8 | -------------------------------------------------------------------------------- /data-raw/reason_code_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | reason_code_types <- fs::path("data-raw", 3 | "reason_code_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(reason_code_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/rights_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | rights_types <- fs::path("data-raw", 3 | "rights_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(rights_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/rights_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Use It Or Lose It Any rights not nominated shall be lost. 3 | A02 Use It Or Sell It Any rights that are not nominated shall be sold. 4 | A03 Allocation curtailment possible Rights acquired may be curtailed. 5 | A04 Nomination curtailment possible Rights acquired may be curtailed at nomination. 6 | A05 Resale possible Acquired rights may be resold. 7 | A06 Transfer possible Acquired rights may be transferred. 8 | -------------------------------------------------------------------------------- /data-raw/role_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | role_types <- fs::path("data-raw", 3 | "role_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(role_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/status_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | status_types <- fs::path("data-raw", 3 | "status_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(status_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/status_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Intermediate The document is in a non finalized state. 3 | A02 Final The document is in a definitive state. 4 | A03 Deactivated The object being reported has been deactivated. 5 | A04 Reactivated The object being reported has been reactivated. 6 | A05 Active The object being reported is currently active. 7 | A06 Available The volumes (one or more) are available. 8 | A07 Activated The quantities in the time series have been activated. 9 | A08 In process The quantities in the time series are in the process of activation (an activation request has been made). 10 | A09 Cancelled The tender indicated in the time series has been completely cancelled. In this case the resources are no longer available to all Acquiring System Operators 11 | A10 Ordered The quantities in the time series are to be activated. 12 | A11 Unavailable The volumes (one or more) are unavailable. 13 | A12 RGCE agreed The information has been agreed within the ENTSO-E Regional Group Continental Europe process. 14 | A13 Withdrawn The information or action has been withdrawn by the submitter. 15 | A14 Creation The action requested to be carried out is the creation of a new object. 16 | A15 Update The action requested to be carried out is the update an existing object. 17 | A16 Deactivation The action requested to be carried out is to deactivate an existing object. 18 | A17 Reactivation The action requested to be carried out is to reactivate a previously deactivated object. 19 | A18 Preventive The remedial action is applied to prevent an outage. 20 | A19 Curative The remedial action is applied after an outage has occurred, in order to maintain the operational security. 21 | A20 Automatic The remedial action being described is applied by an automation when an outage occurs. 22 | A21 Open The action being described consists of disconnecting the network element to the transmission network. 23 | A22 Close The action being described consists of connecting the network element to the transmission network. 24 | A23 Stop The action being described consists of stopping the production or consumption connected to a network element. 25 | A24 Start The action being described consists of starting the production or consumption connected to a network element. 26 | A25 Relative The quantity being described is a relative value to an initial state. 27 | A26 Absolute The quantity being described is an absolute value. 28 | A27 Curative or preventive The remedial action can be applied to prevent an outage or after an outage has occurred in order to maintain the operational security. 29 | A28 Unshared bid Used to indicate that the bid cannot be shared. 30 | A29 Pre Processed to be process 31 | A30 Substituted Substituted pre-processing data. 32 | A31 Modified Modified pre-processing data by RSC or CGMA platform. 33 | A32 Result Result 34 | A33 Not satisfied The need described in the time series cannot be satisfied. 35 | A34 Rejected The document rejected by one or more parties. 36 | A35 Preliminary Indicative information only for initial planning purposes. 37 | A36 Planned Is planned. 38 | A37 Confirmed The status is confirmed. 39 | A38 Shall Be Used The object defined in the series shall be used. 40 | A39 Could Be Used The object defined in the series could be used. 41 | A40 Proposed The status of the information is proposed. 42 | A41 Individual Network Data The network data provided in the document or series concerns the the unique TSO area describes by the document or series. 43 | A42 Common Network Data The network data provided in the document or series concerns the whole area describes by the document or series. 44 | A43 Setpoint schedule The code for the power setpoint mode of operation of the HVDC link. 45 | A44 Proportional external signal The code for the proportional external signal mode of operation of the HVDC link. 46 | A45 AC emulation The code for the AC emulation mode of operation of the HVDC link. 47 | A46 Importing element An importing network element in which the flow measurement enters. 48 | A47 Exporting element An exporting network element from which the flow measurement comes out. 49 | A48 To be optimized Describes an element which needs to be optimized by an optimization process. 50 | A49 To be monitored Describes an element which needs to be monitored by an optimization process. 51 | A50 To be included in capacity calculation Describes an element which needs to be taken into account in a capacity calculation process. 52 | A51 Relative to previous point in time The quantity being described is a relative value to a previous point in time. 53 | A52 For flow optimization Describes an element which needs to be optimized by a flow optimization process. 54 | A53 For voltage optimization Describes an element which needs to be optimized by a voltage optimization process. 55 | A54 Presolved Describes an active constraint that limits the exchanges. It is part of the presolved domain. 56 | A55 Not available if linked bid activated Bid not available if linked bid activated. 57 | A56 Not available if linked bid rejected Bid not available if linked bid rejected. 58 | A57 Not available for DA if linked bid subject to DA Bid not available for direct activation if linked bid subject to direct activation. 59 | A58 Not available for DA if linked bid subject to SA Bid not available for direct activation if linked bid subject to scheduled activation. 60 | A59 Not available if linked bid subject to SA Bid not available if linked bid subject to scheduled activation. 61 | A60 Not available if linked bid subject to DA Bid not available if linked bid subject to direct activation. 62 | A61 Primary market A value is traded for the first time. 63 | A62 Secondary market A value is traded for the second or next times between two parties. 64 | A63 Interesting Describes an asset which is considered as interesting. 65 | A64 Relevant Describes an asset which is considered as relevant. 66 | A65 Conditionally available Bid available as long as none of the conditions associated with the linked bids materialise. 67 | A66 Conditionally unavailable Bid unavailable as long as none of the conditions associated with the linked bids materialise. 68 | A67 Available if linked bid activated Bid available if linked bid activated. 69 | A68 Available if linked bid rejected Bid available if linked bid rejected. 70 | A69 Available if linked bid subject to SA Bid available if linked bid subject to scheduled activation. 71 | A70 Available if linked bid subject to DA Bid available if linked bid subject to direct activation. 72 | A71 Available for DA if linked bid subject to DA Bid available for direct activation if linked bid subject to direct activation. 73 | A72 Available for DA if linked bid subject to SA Bid available for direct activation if linked bid subject to scheduled activation. 74 | A73 Delta Describes a status representing a difference between two values. 75 | A74 Validated The object or action was validated. 76 | A75 Invalid The object or action was invalid. 77 | A76 Timed out The object or action was timed out. 78 | -------------------------------------------------------------------------------- /data-raw/tariff_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | tariff_types <- fs::path("data-raw", 3 | "tariff_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(tariff_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/tariff_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Winter HT Winter HT tariff. 3 | A02 Winter HHT Winter HHT tariff. 4 | A03 Winter NT Winter NT tariff. 5 | A04 Summer HT Summer HT tariff. 6 | A05 Summer HHT1 Summer HHT1 tariff. 7 | A06 Summer HHT2 Summer HHT2 tariff. 8 | A07 Summer NT Summer NT tariff. 9 | -------------------------------------------------------------------------------- /data-raw/timeframe_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | timeframe_types <- fs::path("data-raw", 3 | "timeframe_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(timeframe_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/timeframe_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A01 Real time The information provided concerns real time timeframe. 3 | A02 Intraday The information provided concerns an intra day timeframe. 4 | A03 Hour-1 The information provided concerns 1 hour ahead for given delivery hour. 5 | A04 Hour-2 The information provided concerns 2 hours ahead for given delivery hour. 6 | A05 Hour-3 The information provided concerns 3 hours ahead for given delivery hour. 7 | A06 Hour-4 The information provided concerns 4 hours ahead for given delivery hour. 8 | A07 Hour-5 The information provided concerns 5 hours ahead for given delivery hour. 9 | A08 Hour-6 The information provided concerns 6 hours ahead for given delivery hour. 10 | A09 Hour-7 The information provided concerns 7 hours ahead for given delivery hour. 11 | A10 Hour-8 The information provided concerns 8 hours ahead for given delivery hour. 12 | A11 Hour-9 The information provided concerns 9 hours ahead for given delivery hour. 13 | A12 Hour-10 The information provided concerns 10 hours ahead for given delivery hour. 14 | A13 Hour-11 The information provided concerns 11 hours ahead for given delivery hour. 15 | A14 Hour-12 The information provided concerns 12 hours ahead for given delivery hour. 16 | A15 Hour-13 The information provided concerns 13 hours ahead for given delivery hour. 17 | A16 Hour-14 The information provided concerns 14 hours ahead for given delivery hour. 18 | A17 Hour-15 The information provided concerns 15 hours ahead for given delivery hour. 19 | A18 Hour-16 The information provided concerns 16 hours ahead for given delivery hour. 20 | A19 Hour-17 The information provided concerns 17 hours ahead for given delivery hour. 21 | A20 Hour-18 The information provided concerns 18 hours ahead for given delivery hour. 22 | A21 Hour-19 The information provided concerns 19 hours ahead for given delivery hour. 23 | A22 Hour-20 The information provided concerns 20 hours ahead for given delivery hour. 24 | A23 Hour-21 The information provided concerns 21 hours ahead for given delivery hour. 25 | A24 Hour-22 The information provided concerns 22 hours ahead for given delivery hour. 26 | A25 Hour-23 The information provided concerns 23 hours ahead for given delivery hour. 27 | A26 Hour-24 The information provided concerns 24 hours ahead for given delivery hour. 28 | A27 Hour-25 The information provided concerns 25 hours ahead for given delivery hour. 29 | A28 Hour-26 The information provided concerns 26 hours ahead for given delivery hour. 30 | A29 Hour-27 The information provided concerns 27 hours ahead for given delivery hour. 31 | A30 Hour-28 The information provided concerns 28 hours ahead for given delivery hour. 32 | A31 Hour-29 The information provided concerns 29 hours ahead for given delivery hour. 33 | A32 Hour-30 The information provided concerns 30 hours ahead for given delivery hour. 34 | A33 Hour-31 The information provided concerns 31 hours ahead for given delivery hour. 35 | A34 Day ahead The information provided concerns day ahead timeframe. 36 | A35 Day-2 The information provided concerns two days ahead timeframe. 37 | A36 Day-3 The information provided concerns three days ahead timeframe. 38 | A37 Day-4 The information provided concerns four days ahead timeframe. 39 | A38 Day-5 The information provided concerns five days ahead timeframe. 40 | A39 Day-6 The information provided concerns six days ahead timeframe. 41 | A40 Day-7 The information provided concerns seven days ahead timeframe. 42 | A41 Week ahead The information provided concerns next week ahead timeframe. 43 | A42 Week-0 The information provided concerns current week timeframe. 44 | A43 Week+1 The information provided concerns previous week timeframe. 45 | A44 Month ahead The information provided concerns month ahead timeframe. 46 | A45 Year ahead The information provided concerns year ahead timeframe. 47 | A46 Year-10 The information provided concerns 10 years ahead timeframe. 48 | -------------------------------------------------------------------------------- /data-raw/transmission_pair_eic_dict.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | transmission_pair_eic_dict <- fs::path("data-raw", 3 | "transmission_pair_eic_dict", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8", fill = TRUE) |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(transmission_pair_eic_dict, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/unit_multiplier.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | unit_multiplier <- fs::path("data-raw", 3 | "unit_multiplier", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(unit_multiplier, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/unit_multiplier.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | 1 none No multiplier or equivalently multiply by 1. 3 | -------------------------------------------------------------------------------- /data-raw/unit_of_measure_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | unit_of_measure_types <- fs::path("data-raw", 3 | "unit_of_measure_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(unit_of_measure_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/unit_of_measure_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | A59 OKTA unit A unit of measurement of the cloudiness expressed in OKTA or OCTA, i.e. A unit of count defining the number of eighth-parts as a measure of the celestial dome cloud coverage. 3 | A90 gigawatt GW unit as per UN/CEFACT recommendation 20. 4 | A97 hectopascal A unit of measurement of the pressure expressed in hectopascal. 5 | AMP ampere The unit of electrical current in the International system of Units (SI) equivalent to one Coulomb per second. 6 | C62 One A unit for dimensionless quantities, also called quantities of dimension one. 7 | CEL Celsius A unit of measurement of temperature expressed in degree Celsius. 8 | D54 watt per square meter A unit of measurement of the density of heat flow rate expressed in watt per square meter. 9 | DD degree (unit of angle) A unit of measurement of angles expressed in a 0 to 360 degree gradient. 10 | E08 Megawatt per Hertz A unit of energy expressed as the load change in million watts that will cause a frequency shift of one hertz. 11 | GWH gigawatt hour GWh unit as per UN/CEFACT recommendation 20. 12 | HMQ cubic hectometres A unit of volume equal to one million cubic metres. 13 | HTZ Hertz HTZ unit as per UN/CEFACT recommendation 20. 14 | KEL K (Kelvin) Temperature unit refer ISO 80000-5 (Quantities and units, Part 5: Thermodynamics). 15 | KMT kilometre km unit as per UN/CEFACT recommendation 20. 16 | KVR kilovolt ampere reactive A unit of electrical reactive power represented by a current of one thousand amperes flowing due to a potential difference of one thousand volts where the sine of the phase angle between them is 1. The unity power factor is expressed in thousands of a volt ampere reactive. 17 | KVT kilovolt kV unit as per UN/CEFACT recommendation 20. 18 | KWH kilowatt hour A total amount of electrical energy transferred or consumed in one hour. 19 | KWT kilowatt A unit of bulk power flow, which can be defined as the rate of energy transfer /consumption when a current of 1000 amperes flows due to a potential of 1000 volts at unity power factor expressed in thousands of a watt. 20 | MAH megavolt ampere reactive hours Total amount of reactive power across a power system. 21 | MAR megavolt ampere reactive A unit of electrical reactive power represented by a current of one thousand amperes flowing due to a potential difference of one thousand volts where the sine of the phase angle between them is 1. 22 | MAW megawatt A unit of bulk power flow, which can be defined as the rate of energy transfer /consumption when a current of 1000 amperes flows due to a potential of 1000 volts at unity power factor expressed in millions of a watt. 23 | MIN minute A period of time equal to sixty seconds. 24 | MMT millimeter A unit of measurement of length expressed in millimeter. 25 | MQS cubic metres per second The volume flow rate of cubic metre per second. 26 | MTQ cubic metre A Cubic metre. 27 | MTR metre The length of a metre. 28 | MTS meter per second A unit of measurement of the speed expressed in m/s. 29 | MTZ millihertz A unit of frequency equal to 0.001 cycle per second. 30 | MVA megavolt-ampere MVA unit as per UN/CEFACT recommendation 20. 31 | MWH megawatt hours The total amount of bulk energy transferred or consumed. 32 | P1 percent A unit of proportion equal to 0.01. 33 | SEC second A period of time equal to one second. 34 | WTT watt The watt is the International System of Units (SI) standard unit of power (energy per unit time), the equivalent of one joule per second. 35 | -------------------------------------------------------------------------------- /data-raw/unit_symbol_types.R: -------------------------------------------------------------------------------- 1 | # read raw tsv, trim the character columns and remove empty columns 2 | unit_symbol_types <- fs::path("data-raw", 3 | "unit_symbol_types", 4 | ext = "tsv") |> 5 | data.table::fread(encoding = "UTF-8") |> 6 | purrr::modify_if(is.character, trimws, which = "both") |> 7 | purrr::discard(~is.na(.x) |> all()) 8 | 9 | # save the package data in the correct format 10 | usethis::use_data(unit_symbol_types, overwrite = TRUE) 11 | -------------------------------------------------------------------------------- /data-raw/unit_symbol_types.tsv: -------------------------------------------------------------------------------- 1 | Code Title Description 2 | AMP Ampere The unit of electrical current in the International system of Units (SI) equivalent to one Coulomb per second. 3 | C62 One A unit for dimensionless quantities, also called quantities of dimension one. 4 | DD degree (unit of angle) A unit of measurement of angles expressed in a 0 to 360 degree gradient. 5 | GKH grams per kilowatt hour It represents the mass rate of emissions per unit of work accomplished. 6 | HTZ Hertz HTZ unit as per UN/CEFACT recommendation 20 7 | KVT kV The symbol of kV 8 | MAR MVAr The symbol of MVAr 9 | MAW MW The symbol of MW 10 | MVA megavolt-ampere MVA unit as per UN/CEFACT recommendation 20 11 | OHM Ohm The symbol of Ohm Unit 12 | P1 Percent A unit of proportion equal to 0.01. 13 | -------------------------------------------------------------------------------- /data-raw/xlsx_to_tsv.R: -------------------------------------------------------------------------------- 1 | df_list <- rio::import_list(file = "data-raw/entso-e-code-list-v92-tables.xlsx") 2 | 3 | purrr::walk2( 4 | df_list, 5 | names(df_list), 6 | function(df, sheet_name) { 7 | if (endsWith(x = sheet_name, suffix = "Type")) { 8 | file_path <- paste0( 9 | "data-raw/", 10 | snakecase::to_snake_case(sheet_name), 11 | "s.tsv" 12 | ) 13 | } else { 14 | file_path <- paste0( 15 | "data-raw/", 16 | snakecase::to_snake_case(sheet_name), 17 | ".tsv" 18 | ) 19 | } 20 | dt <- purrr::map(df, gsub, pattern = "\\n", replacement = "") |> 21 | data.table::as.data.table() 22 | data.table::fwrite( 23 | x = dt, 24 | file = file_path, 25 | sep = "\t", 26 | na = "", 27 | quote = FALSE 28 | ) 29 | } 30 | ) 31 | -------------------------------------------------------------------------------- /data/allocation_mode_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/allocation_mode_types.rda -------------------------------------------------------------------------------- /data/analog_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/analog_types.rda -------------------------------------------------------------------------------- /data/asset_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/asset_types.rda -------------------------------------------------------------------------------- /data/auction_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/auction_types.rda -------------------------------------------------------------------------------- /data/business_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/business_types.rda -------------------------------------------------------------------------------- /data/category_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/category_types.rda -------------------------------------------------------------------------------- /data/classification_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/classification_types.rda -------------------------------------------------------------------------------- /data/coding_scheme_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/coding_scheme_types.rda -------------------------------------------------------------------------------- /data/contract_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/contract_types.rda -------------------------------------------------------------------------------- /data/coordinate_system_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/coordinate_system_types.rda -------------------------------------------------------------------------------- /data/currency_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/currency_types.rda -------------------------------------------------------------------------------- /data/curve_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/curve_types.rda -------------------------------------------------------------------------------- /data/direction_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/direction_types.rda -------------------------------------------------------------------------------- /data/eic_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/eic_types.rda -------------------------------------------------------------------------------- /data/energy_product_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/energy_product_types.rda -------------------------------------------------------------------------------- /data/fuel_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/fuel_types.rda -------------------------------------------------------------------------------- /data/hvdc_mode_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/hvdc_mode_types.rda -------------------------------------------------------------------------------- /data/indicator_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/indicator_types.rda -------------------------------------------------------------------------------- /data/market_product_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/market_product_types.rda -------------------------------------------------------------------------------- /data/message_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/message_types.rda -------------------------------------------------------------------------------- /data/object_aggregation_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/object_aggregation_types.rda -------------------------------------------------------------------------------- /data/payment_terms_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/payment_terms_types.rda -------------------------------------------------------------------------------- /data/price_category_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/price_category_types.rda -------------------------------------------------------------------------------- /data/price_component_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/price_component_types.rda -------------------------------------------------------------------------------- /data/price_direction_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/price_direction_types.rda -------------------------------------------------------------------------------- /data/process_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/process_types.rda -------------------------------------------------------------------------------- /data/quality_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/quality_types.rda -------------------------------------------------------------------------------- /data/reason_code_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/reason_code_types.rda -------------------------------------------------------------------------------- /data/rights_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/rights_types.rda -------------------------------------------------------------------------------- /data/role_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/role_types.rda -------------------------------------------------------------------------------- /data/status_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/status_types.rda -------------------------------------------------------------------------------- /data/tariff_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/tariff_types.rda -------------------------------------------------------------------------------- /data/timeframe_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/timeframe_types.rda -------------------------------------------------------------------------------- /data/transmission_pair_eic_dict.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/transmission_pair_eic_dict.rda -------------------------------------------------------------------------------- /data/unit_multiplier.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/unit_multiplier.rda -------------------------------------------------------------------------------- /data/unit_of_measure_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/unit_of_measure_types.rda -------------------------------------------------------------------------------- /data/unit_symbol_types.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/data/unit_symbol_types.rda -------------------------------------------------------------------------------- /entsoeapi.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | ProjectId: b732a530-41ee-4b3f-b248-2509cb86e07a 3 | 4 | RestoreWorkspace: Default 5 | SaveWorkspace: Default 6 | AlwaysSaveHistory: Default 7 | 8 | EnableCodeIndexing: Yes 9 | UseSpacesForTab: Yes 10 | NumSpacesForTab: 2 11 | Encoding: UTF-8 12 | 13 | RnwWeave: Sweave 14 | LaTeX: pdfLaTeX 15 | 16 | AutoAppendNewline: Yes 17 | StripTrailingWhitespace: Yes 18 | 19 | BuildType: Package 20 | PackageUseDevtools: Yes 21 | PackageInstallArgs: --no-multiarch --with-keep.source 22 | PackageRoxygenize: rd,collate,namespace,vignette 23 | -------------------------------------------------------------------------------- /man/accounting_point_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{accounting_point_eic} 4 | \alias{accounting_point_eic} 5 | \title{Get Accounting Point Z Energy Identification Codes} 6 | \usage{ 7 | accounting_point_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads approved accounting point Z 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | An entity under balance responsibility where balance supplier change 21 | can take place and for which commercial business processes are defined. 22 | } 23 | \examples{ 24 | eic_accounting_point <- entsoeapi::accounting_point_eic() 25 | 26 | str(eic_accounting_point) 27 | 28 | } 29 | -------------------------------------------------------------------------------- /man/all_approved_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{all_approved_eic} 4 | \alias{all_approved_eic} 5 | \title{Get all Approved Energy Identification Codes} 6 | \usage{ 7 | all_approved_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads all approved 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | Further details are under: 21 | https://www.entsoe.eu/data/energy-identification-codes-eic/#eic-documentation 22 | } 23 | \examples{ 24 | eic_all <- entsoeapi::all_approved_eic() 25 | 26 | str(eic_all) 27 | 28 | } 29 | -------------------------------------------------------------------------------- /man/allocation_mode_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{allocation_mode_types} 5 | \alias{allocation_mode_types} 6 | \title{List Allocation Mode Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 4 rows and 3 columns. 9 | } 10 | \usage{ 11 | allocation_mode_types 12 | } 13 | \description{ 14 | List Allocation Mode Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(allocation_mode_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/analog_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{analog_types} 5 | \alias{analog_types} 6 | \title{List Analog Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 42 rows and 3 columns. 9 | } 10 | \usage{ 11 | analog_types 12 | } 13 | \description{ 14 | List Analog Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(analog_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/area_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{area_eic} 4 | \alias{area_eic} 5 | \title{Get Area Y Energy Identification Codes} 6 | \usage{ 7 | area_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads approved area Y 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | } 21 | \examples{ 22 | eic_area <- entsoeapi::area_eic() 23 | 24 | str(eic_area) 25 | 26 | } 27 | -------------------------------------------------------------------------------- /man/asset_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{asset_types} 5 | \alias{asset_types} 6 | \title{List Asset Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 90 rows and 3 columns. 9 | } 10 | \usage{ 11 | asset_types 12 | } 13 | \description{ 14 | List Asset Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(asset_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/auction_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{auction_types} 5 | \alias{auction_types} 6 | \title{List Auction Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 8 rows and 3 columns. 9 | } 10 | \usage{ 11 | auction_types 12 | } 13 | \description{ 14 | List Auction Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(auction_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/balancing_accepted_aggr_offers.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_balancing.R 3 | \name{balancing_accepted_aggr_offers} 4 | \alias{balancing_accepted_aggr_offers} 5 | \title{Get Accepted Aggregated Offers (17.1.D)} 6 | \usage{ 7 | balancing_accepted_aggr_offers( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | reserve_type = NULL, 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic}{Energy Identification Code of the control area domain} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 20 | One year range limit applies} 21 | 22 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 23 | One year range limit applies} 24 | 25 | \item{reserve_type}{Defaults to NULL, otherwise choose among the 26 | list of reserve type codes (A95, A96, A97, A98) 27 | from business_types table} 28 | 29 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 30 | 31 | \item{security_token}{Security token for ENTSO-E transparency platform} 32 | } 33 | \description{ 34 | Energy volumes available for activation. 35 | } 36 | \examples{ 37 | df <- entsoeapi::balancing_accepted_aggr_offers( 38 | eic = "10YHU-MAVIR----U", 39 | period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"), 40 | period_end = lubridate::ymd(x = "2020-03-01", tz = "CET"), 41 | tidy_output = TRUE, 42 | reserve_type = "A96" 43 | ) 44 | str(df) 45 | 46 | } 47 | -------------------------------------------------------------------------------- /man/balancing_activated_reserves.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_balancing.R 3 | \name{balancing_activated_reserves} 4 | \alias{balancing_activated_reserves} 5 | \title{Get Activated Balancing Reserves (17.1.E)} 6 | \usage{ 7 | balancing_activated_reserves( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | reserve_type = NULL, 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic}{Energy Identification Code of the control area domain} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 20 | One year range limit applies} 21 | 22 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 23 | One year range limit applies} 24 | 25 | \item{reserve_type}{Defaults to NULL, otherwise choose among the 26 | list of reserve type codes (A95, A96, A97, A98) 27 | from business_types table} 28 | 29 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 30 | 31 | \item{security_token}{Security token for ENTSO-E transparency platform} 32 | } 33 | \description{ 34 | The amount of activated balancing energy. 35 | } 36 | \examples{ 37 | df <- entsoeapi::balancing_activated_reserves( 38 | eic = "10YHU-MAVIR----U", 39 | period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"), 40 | period_end = lubridate::ymd(x = "2020-03-01", tz = "CET"), 41 | tidy_output = TRUE, 42 | reserve_type = "A96" 43 | ) 44 | str(df) 45 | 46 | } 47 | -------------------------------------------------------------------------------- /man/balancing_border_cap_limit.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_balancing.R 3 | \name{balancing_border_cap_limit} 4 | \alias{balancing_border_cap_limit} 5 | \title{Balancing Border Capacity Limitations (IFs 4.3 & 4.4)} 6 | \usage{ 7 | balancing_border_cap_limit( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | eic_interconnector = NULL, 11 | process_type = NULL, 12 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 13 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 14 | tidy_output = TRUE, 15 | security_token = Sys.getenv("ENTSOE_PAT") 16 | ) 17 | } 18 | \arguments{ 19 | \item{eic_in}{Energy Identification Code of an in LFC Area (LFA) 20 | or in Scheduling area (SCA)} 21 | 22 | \item{eic_out}{Energy Identification Code of out an out LFC Area (LFA) 23 | or out Scheduling area (SCA)} 24 | 25 | \item{eic_interconnector}{Energy Identification Code of a Transmission Asset, 26 | optional filter} 27 | 28 | \item{process_type}{type of frequency restoration reserve 29 | A47 mFRR 30 | A51 aFRR 31 | A63 Imbalance Netting} 32 | 33 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 34 | 35 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 36 | 37 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 38 | 39 | \item{security_token}{Security token for ENTSO-E transparency platform} 40 | } 41 | \description{ 42 | This data item publish limitations on borders requested by 43 | participating or affected TSOs. 44 | } 45 | \examples{ 46 | df <- entsoeapi::balancing_border_cap_limit( 47 | eic_in = "10YDE-RWENET---I", 48 | eic_out = "10YBE----------2", 49 | process_type = "A51", 50 | period_start = lubridate::ymd(x = "2022-06-22", tz = "CET"), 51 | period_end = lubridate::ymd(x = "2022-06-23", tz = "CET"), 52 | tidy_output = TRUE 53 | ) 54 | str(df) 55 | 56 | } 57 | -------------------------------------------------------------------------------- /man/business_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{business_types} 5 | \alias{business_types} 6 | \title{List Business Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 292 rows and 3 columns. 9 | } 10 | \usage{ 11 | business_types 12 | } 13 | \description{ 14 | List Business Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(business_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/category_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{category_types} 5 | \alias{category_types} 6 | \title{List Category Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 4 rows and 3 columns. 9 | } 10 | \usage{ 11 | category_types 12 | } 13 | \description{ 14 | List Category Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(category_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/classification_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{classification_types} 5 | \alias{classification_types} 6 | \title{List Classification Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 2 rows and 3 columns. 9 | } 10 | \usage{ 11 | classification_types 12 | } 13 | \description{ 14 | List Classification Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(classification_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/coding_scheme_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{coding_scheme_types} 5 | \alias{coding_scheme_types} 6 | \title{List Coding Scheme Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 50 rows and 3 columns. 9 | } 10 | \usage{ 11 | coding_scheme_types 12 | } 13 | \description{ 14 | List Coding Scheme Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(coding_scheme_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/contract_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{contract_types} 5 | \alias{contract_types} 6 | \title{List Contract Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 16 rows and 3 columns. 9 | } 10 | \usage{ 11 | contract_types 12 | } 13 | \description{ 14 | List Contract Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(contract_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/coordinate_system_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{coordinate_system_types} 5 | \alias{coordinate_system_types} 6 | \title{List Coordinate System Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 4 rows and 3 columns. 9 | } 10 | \usage{ 11 | coordinate_system_types 12 | } 13 | \description{ 14 | List Coordinate System Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(coordinate_system_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/costs_of_congestion_management.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_congestion.R 3 | \name{costs_of_congestion_management} 4 | \alias{costs_of_congestion_management} 5 | \title{Get Costs of Congestion Management (13.1.C)} 6 | \usage{ 7 | costs_of_congestion_management( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 31L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | event_nature = NULL, 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic}{Energy Identification Code of the control area} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{event_nature}{"A46" for system Operator redispatching 24 | "B03" for counter trade 25 | "B04" for congestion costs 26 | Defaults to NULL which means both of them.} 27 | 28 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 29 | 30 | \item{security_token}{Security token for ENTSO-E transparency platform} 31 | } 32 | \description{ 33 | Costs of TSO for redispatching and counter trading together 34 | with costs for any other remedial actions taken to relieve 35 | congested lines in transmission grid. 36 | 100 documents limit applies!! 37 | } 38 | \examples{ 39 | # Czech's Costs of Congestion Management 40 | df <- entsoeapi::costs_of_congestion_management( 41 | eic = "10YCZ-CEPS-----N", 42 | period_start = lubridate::ymd(x = "2016-01-01", tz = "CET"), 43 | period_end = lubridate::ymd(x = "2017-01-01", tz = "CET"), 44 | tidy_output = TRUE 45 | ) 46 | 47 | str(df) 48 | 49 | } 50 | -------------------------------------------------------------------------------- /man/countertrading.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_congestion.R 3 | \name{countertrading} 4 | \alias{countertrading} 5 | \title{title 6 | Get Countertrading (13.1.B)} 7 | \usage{ 8 | countertrading( 9 | eic_in = NULL, 10 | eic_out = NULL, 11 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 12 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 13 | tidy_output = TRUE, 14 | security_token = Sys.getenv("ENTSOE_PAT") 15 | ) 16 | } 17 | \arguments{ 18 | \item{eic_in}{Energy Identification Code of the control area/bidding zone} 19 | 20 | \item{eic_out}{Energy Identification Code of the control area/bidding zone} 21 | 22 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 23 | 24 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 25 | 26 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 27 | 28 | \item{security_token}{Security token for ENTSO-E transparency platform} 29 | } 30 | \description{ 31 | Buying or cancelling generation on different side of the border 32 | to relieve congested cross-border lines that exceeds its capacity. 33 | The time interval in the query response depends on duration of 34 | matching counter trades 35 | 100 documents limit applies!! 36 | } 37 | \examples{ 38 | # Counter trading between Germany and Denmark. 39 | df <- entsoeapi::countertrading( 40 | eic_in = "10Y1001A1001A82H", 41 | eic_out = "10YDK-1--------W", 42 | period_start = lubridate::ymd(x = "2024-09-01", tz = "CET"), 43 | period_end = lubridate::ymd(x = "2024-10-01", tz = "CET"), 44 | tidy_output = TRUE 45 | ) 46 | 47 | str(df) 48 | 49 | } 50 | -------------------------------------------------------------------------------- /man/currency_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{currency_types} 5 | \alias{currency_types} 6 | \title{List Currency Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 23 rows and 3 columns. 9 | } 10 | \usage{ 11 | currency_types 12 | } 13 | \description{ 14 | List Currency Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(currency_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/curve_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{curve_types} 5 | \alias{curve_types} 6 | \title{List Curve Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 5 rows and 3 columns. 9 | } 10 | \usage{ 11 | curve_types 12 | } 13 | \description{ 14 | List Curve Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(curve_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/direction_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{direction_types} 5 | \alias{direction_types} 6 | \title{List Direction Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 4 rows and 3 columns. 9 | } 10 | \usage{ 11 | direction_types 12 | } 13 | \description{ 14 | List Direction Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(direction_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/eic_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{eic_types} 5 | \alias{eic_types} 6 | \title{List EIC Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 7 rows and 3 columns. 9 | } 10 | \usage{ 11 | eic_types 12 | } 13 | \description{ 14 | List EIC Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(eic_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/elastic_demands.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_balancing.R 3 | \name{elastic_demands} 4 | \alias{elastic_demands} 5 | \title{Get Elastic Demands (IF mFRR 3.4)} 6 | \usage{ 7 | elastic_demands( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the scheduling area} 17 | 18 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 19 | One year range limit applies} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One year range limit applies} 23 | 24 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | Elastic demands for scheduled activation of standard mFRR product. 30 | } 31 | \examples{ 32 | df <- entsoeapi::elastic_demands( 33 | eic = "10YCZ-CEPS-----N", 34 | period_start = lubridate::ymd(x = "2024-01-01", tz = "CET"), 35 | period_end = lubridate::ymd(x = "2024-11-01", tz = "CET"), 36 | tidy_output = TRUE 37 | ) 38 | str(df) 39 | 40 | } 41 | -------------------------------------------------------------------------------- /man/energy_product_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{energy_product_types} 5 | \alias{energy_product_types} 6 | \title{List Energy Product Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 9 rows and 3 columns. 9 | } 10 | \usage{ 11 | energy_product_types 12 | } 13 | \description{ 14 | List Energy Product Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(energy_product_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/exchanged_volumes.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_balancing.R 3 | \name{exchanged_volumes} 4 | \alias{exchanged_volumes} 5 | \title{Get Exchanged Volumes (aFRR 3.16, mFRR 3.17)} 6 | \usage{ 7 | exchanged_volumes( 8 | eic = NULL, 9 | process_type = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic}{Energy Identification Code of the area} 18 | 19 | \item{process_type}{type of frequency restoration reserve 20 | A51 aFRR 21 | A60 mFRR scheduled activation 22 | A61 mFRR direct activation} 23 | 24 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 25 | One day range limit applies} 26 | 27 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 28 | One day range limit applies} 29 | 30 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 31 | 32 | \item{security_token}{Security token for ENTSO-E transparency platform} 33 | } 34 | \description{ 35 | The net position informs whether the given area imports 36 | or exports energy. 37 | Those rows which hold the queried eic value in the 38 | 'ts_connecting_domain_mrid' column 39 | show the export value. 40 | Those rows which hold the queried eic value in the 41 | 'ts_acquiring_domain_mrid' column 42 | show the import value. 43 | } 44 | \examples{ 45 | df1 <- entsoeapi::exchanged_volumes( 46 | eic = "10YCZ-CEPS-----N", 47 | process_type = "A51", 48 | period_start = lubridate::ymd(x = "2022-08-16", tz = "CET"), 49 | period_end = lubridate::ymd(x = "2022-08-17", tz = "CET"), 50 | tidy_output = TRUE 51 | ) 52 | str(df1) 53 | 54 | df2 <- entsoeapi::exchanged_volumes( 55 | eic = "10YCZ-CEPS-----N", 56 | process_type = "A60", 57 | period_start = lubridate::ymd(x = "2024-07-11", tz = "CET"), 58 | period_end = lubridate::ymd(x = "2024-07-12", tz = "CET"), 59 | tidy_output = TRUE 60 | ) 61 | str(df2) 62 | 63 | } 64 | -------------------------------------------------------------------------------- /man/figures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/krose/entsoeapi/469eafba996cecaa1f2755e130626f250675b597/man/figures/logo.png -------------------------------------------------------------------------------- /man/fuel_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{fuel_types} 5 | \alias{fuel_types} 6 | \title{List Fuel Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 55 rows and 3 columns. 9 | } 10 | \usage{ 11 | fuel_types 12 | } 13 | \description{ 14 | List Fuel Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(fuel_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/gen_day_ahead.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_generation.R 3 | \name{gen_day_ahead} 4 | \alias{gen_day_ahead} 5 | \title{Get Day-Ahead Generation Forecast. (14.1.C)} 6 | \usage{ 7 | gen_day_ahead( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the control area, 17 | bidding zone or country} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{tidy_output}{Defaults to TRUE. 24 | If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | It is an estimate of the total scheduled net generation (MW) 30 | per area and market time unit of the following day. 31 | } 32 | \examples{ 33 | df <- entsoeapi::gen_day_ahead( 34 | eic = "10YFR-RTE------C", 35 | period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"), 36 | period_end = lubridate::ymd(x = "2020-03-01", tz = "CET"), 37 | tidy_output = TRUE 38 | ) 39 | str(df) 40 | 41 | } 42 | -------------------------------------------------------------------------------- /man/gen_installed_capacity_per_pt.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_generation.R 3 | \name{gen_installed_capacity_per_pt} 4 | \alias{gen_installed_capacity_per_pt} 5 | \title{Get Installed Generation Capacity per Production Type (14.1.A)} 6 | \usage{ 7 | gen_installed_capacity_per_pt( 8 | eic = NULL, 9 | psr_type = NULL, 10 | year = lubridate::year(Sys.Date()), 11 | security_token = Sys.getenv("ENTSOE_PAT") 12 | ) 13 | } 14 | \arguments{ 15 | \item{eic}{Energy Identification Code of the control area, 16 | bidding zone or country} 17 | 18 | \item{psr_type}{Defaults to NULL, otherwise list of generation type 19 | codes from asset_types table} 20 | 21 | \item{year}{YYYY format} 22 | 23 | \item{security_token}{Security token} 24 | } 25 | \description{ 26 | The sum of installed net generation capacity (MW) for all 27 | existing production units equal to or exceeding 1 MW 28 | installed generation capacity, per production type. 29 | } 30 | \examples{ 31 | df <- entsoeapi::gen_installed_capacity_per_pt( 32 | eic = "10YFR-RTE------C", 33 | psr_type = "B05", 34 | year = 2020 35 | ) 36 | str(df) 37 | 38 | } 39 | -------------------------------------------------------------------------------- /man/gen_installed_capacity_per_pu.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_generation.R 3 | \name{gen_installed_capacity_per_pu} 4 | \alias{gen_installed_capacity_per_pu} 5 | \title{Get Installed Generation Capacity per Production Unit (14.1.B)} 6 | \usage{ 7 | gen_installed_capacity_per_pu( 8 | eic = NULL, 9 | year = lubridate::year(Sys.Date()), 10 | psr_type = NULL, 11 | security_token = Sys.getenv("ENTSOE_PAT") 12 | ) 13 | } 14 | \arguments{ 15 | \item{eic}{Energy Identification Code of the control area, 16 | bidding zone or country} 17 | 18 | \item{year}{YYYY format Cannot be shown more than 3 years ahead 19 | as required by the law.} 20 | 21 | \item{psr_type}{Defaults to NULL, otherwise list of generation type 22 | codes from asset_types table} 23 | 24 | \item{security_token}{Security token} 25 | } 26 | \description{ 27 | The installed generation capacities (MW) at the beginning of the year 28 | for all the production units, including the planned ones. 29 | } 30 | \examples{ 31 | df <- entsoeapi::gen_installed_capacity_per_pu( 32 | eic = "10YDE-VE-------2", 33 | year = 2020, 34 | psr_type = "B05" 35 | ) 36 | str(df) 37 | 38 | } 39 | -------------------------------------------------------------------------------- /man/gen_per_gen_unit.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_generation.R 3 | \name{gen_per_gen_unit} 4 | \alias{gen_per_gen_unit} 5 | \title{Get Aggregated Generation per Generation Unit (16.1.A)} 6 | \usage{ 7 | gen_per_gen_unit( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | gen_type = NULL, 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic}{Energy Identification Code of the control area 18 | or bidding zone} 19 | 20 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 21 | 22 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 23 | 24 | \item{gen_type}{Defaults to NULL, otherwise list of generation type 25 | codes from asset_types table} 26 | 27 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 28 | 29 | \item{security_token}{Security token for ENTSO-E transparency platform} 30 | } 31 | \description{ 32 | Actual net generation output (MW) and optionally 33 | consumption data from all generation units. 34 | Data are aggregated as an average of generation outputs 35 | or consumption. 36 | } 37 | \examples{ 38 | df <- entsoeapi::gen_per_gen_unit( 39 | eic = "10YDE-VE-------2", 40 | period_start = lubridate::ymd(x = "2020-01-31", tz = "CET"), 41 | period_end = lubridate::ymd(x = "2020-02-06", tz = "CET"), 42 | gen_type = c("B04", "B05"), 43 | tidy_output = TRUE 44 | ) 45 | str(df) 46 | 47 | } 48 | -------------------------------------------------------------------------------- /man/gen_per_prod_type.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_generation.R 3 | \name{gen_per_prod_type} 4 | \alias{gen_per_prod_type} 5 | \title{Get Aggregated Generation per Production Type (16.1.B&C)} 6 | \usage{ 7 | gen_per_prod_type( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | gen_type = NULL, 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic}{Energy Identification Code of the control area, 18 | bidding zone or country} 19 | 20 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 21 | Maximum one year range limit applies} 22 | 23 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 24 | Maximum one year range limit applies} 25 | 26 | \item{gen_type}{Defaults to NULL, otherwise list of generation type 27 | codes from asset_types table} 28 | 29 | \item{tidy_output}{Defaults to TRUE. 30 | If TRUE, then flatten nested tables.} 31 | 32 | \item{security_token}{Security token for ENTSO-E transparency platform} 33 | } 34 | \description{ 35 | Actual aggregated net generation output (MW) or consumption 36 | per market time unit and per production type. 37 | } 38 | \examples{ 39 | df <- entsoeapi::gen_per_prod_type( 40 | eic = "10YFR-RTE------C", 41 | period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"), 42 | period_end = lubridate::ymd(x = "2020-03-01", tz = "CET"), 43 | gen_type = NULL, 44 | tidy_output = TRUE 45 | ) 46 | str(df) 47 | 48 | } 49 | -------------------------------------------------------------------------------- /man/gen_storage_mean_filling_rate.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_generation.R 3 | \name{gen_storage_mean_filling_rate} 4 | \alias{gen_storage_mean_filling_rate} 5 | \title{Get Weekly Average Filling Rate of Water Reservoirs 6 | and Hydro Storage Plants (16.1.D)} 7 | \usage{ 8 | gen_storage_mean_filling_rate( 9 | eic = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic}{Energy Identification Code of the control area, 18 | bidding zone or country} 19 | 20 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 21 | Maximum 380 days range limit applies} 22 | 23 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 24 | Maximum 380 days range limit applies} 25 | 26 | \item{tidy_output}{Defaults to TRUE. 27 | If TRUE, then flatten nested tables.} 28 | 29 | \item{security_token}{Security token for ENTSO-E transparency platform} 30 | } 31 | \description{ 32 | Aggregated weekly average filling rate of all water reservoir 33 | and hydro storage plants (MWh) per area, including the same 34 | week value of the previous year. 35 | } 36 | \examples{ 37 | df <- entsoeapi::gen_storage_mean_filling_rate( 38 | eic = "10YFR-RTE------C", 39 | period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"), 40 | period_end = lubridate::ymd(x = "2021-02-15", tz = "CET"), 41 | tidy_output = TRUE) 42 | str(df) 43 | 44 | } 45 | -------------------------------------------------------------------------------- /man/gen_wind_solar_forecasts.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_generation.R 3 | \name{gen_wind_solar_forecasts} 4 | \alias{gen_wind_solar_forecasts} 5 | \title{Get Generation Forecasts for Wind & Solar (14.1.D)} 6 | \usage{ 7 | gen_wind_solar_forecasts( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date(), tz = "CET") - lubridate::days(x = 1L), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the control area, 17 | bidding zone or country} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{tidy_output}{Defaults to TRUE. 24 | If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | A respective forecast of wind and solar power net 30 | generation (MW) per area and each market time unit 31 | of the following/current day. 32 | The elements of the result list are representing 33 | each related forecast time range. 34 | } 35 | \examples{ 36 | df_list <- entsoeapi::gen_wind_solar_forecasts( 37 | eic = "10YFR-RTE------C", 38 | period_start = lubridate::ymd(x = "2020-02-01", tz = "CET"), 39 | period_end = lubridate::ymd(x = "2020-03-01", tz = "CET"), 40 | tidy_output = TRUE 41 | ) 42 | str(df_list$`Day-ahead`) 43 | str(df_list$`Intraday`) 44 | str(df_list$`Current`) 45 | 46 | } 47 | -------------------------------------------------------------------------------- /man/hvdc_mode_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{hvdc_mode_types} 5 | \alias{hvdc_mode_types} 6 | \title{List HVDC Mode Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 3 rows and 3 columns. 9 | } 10 | \usage{ 11 | hvdc_mode_types 12 | } 13 | \description{ 14 | List HVDC Mode Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(hvdc_mode_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/indicator_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{indicator_types} 5 | \alias{indicator_types} 6 | \title{List Indicator Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 2 rows and 3 columns. 9 | } 10 | \usage{ 11 | indicator_types 12 | } 13 | \description{ 14 | List Indicator Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(indicator_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/load_actual_total.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_load.R 3 | \name{load_actual_total} 4 | \alias{load_actual_total} 5 | \title{Get Actual Total Load (6.1.A)} 6 | \usage{ 7 | load_actual_total( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the bidding zone/country/control area} 17 | 18 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 19 | 20 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 21 | 22 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 23 | 24 | \item{security_token}{Security token for ENTSO-E transparency platform} 25 | } 26 | \description{ 27 | It is defined as equal to the actual sum of power generated by 28 | plants on both TSO/DSO networks, from which is deduced: 29 | \itemize{ 30 | \item the balance (export-import) of exchanges on interconnections 31 | between neighbouring bidding zones 32 | \item the power absorbed by energy storage resources 33 | } 34 | } 35 | \examples{ 36 | # German average daily load. 37 | df <- entsoeapi::load_actual_total( 38 | eic = "10Y1001A1001A83F", 39 | period_start = lubridate::ymd(x = Sys.Date() - 40 | lubridate::days(x = 30), tz = "CET"), 41 | period_end = lubridate::ymd(x = Sys.Date(), tz = "CET"), 42 | tidy_output = TRUE 43 | ) 44 | 45 | str(df) 46 | 47 | } 48 | -------------------------------------------------------------------------------- /man/load_day_ahead_total_forecast.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_load.R 3 | \name{load_day_ahead_total_forecast} 4 | \alias{load_day_ahead_total_forecast} 5 | \title{Get Day-Ahead Total Load Forecast (6.1.B)} 6 | \usage{ 7 | load_day_ahead_total_forecast( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the bidding zone/ 17 | country/control area} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{tidy_output}{Defaults to TRUE 24 | If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | It is defined as equal to the day-ahead forecasted sum of 30 | power generated by plants on both TSO/DSO networks, 31 | from which is deduced: 32 | \itemize{ 33 | \item the balance (export-import) of exchanges on interconnections 34 | between neighbouring bidding zones 35 | \item the power absorbed by energy storage resources 36 | } 37 | } 38 | \examples{ 39 | # German average daily load. 40 | df <- entsoeapi::load_day_ahead_total_forecast( 41 | eic = "10Y1001A1001A83F", 42 | period_start = lubridate::ymd(x = Sys.Date() - 43 | lubridate::days(x = 30), tz = "CET"), 44 | period_end = lubridate::ymd(x = Sys.Date(), tz = "CET"), 45 | tidy_output = TRUE 46 | ) 47 | 48 | str(df) 49 | 50 | } 51 | -------------------------------------------------------------------------------- /man/load_month_ahead_total_forecast.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_load.R 3 | \name{load_month_ahead_total_forecast} 4 | \alias{load_month_ahead_total_forecast} 5 | \title{Get Month-Ahead Total Load Forecast (6.1.D)} 6 | \usage{ 7 | load_month_ahead_total_forecast( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the bidding zone/ 17 | country/control area} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{tidy_output}{Defaults to TRUE. 24 | If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | It is defined as equal to the month-ahead forecasted sum of 30 | power generated by plants on both TSO/DSO networks, 31 | from which is deduced: 32 | \itemize{ 33 | \item the balance (export-import) of exchanges on interconnections 34 | between neighbouring bidding zones 35 | \item the power absorbed by energy storage resources 36 | } 37 | } 38 | \examples{ 39 | df <- entsoeapi::load_month_ahead_total_forecast( 40 | eic = "10Y1001A1001A82H", 41 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 42 | period_end = lubridate::ymd(x = "2019-11-30", tz = "CET"), 43 | tidy_output = TRUE 44 | ) 45 | 46 | str(df) 47 | 48 | } 49 | -------------------------------------------------------------------------------- /man/load_week_ahead_total_forecast.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_load.R 3 | \name{load_week_ahead_total_forecast} 4 | \alias{load_week_ahead_total_forecast} 5 | \title{Get Week-Ahead Total Load Forecast (6.1.C)} 6 | \usage{ 7 | load_week_ahead_total_forecast( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the bidding zone/ 17 | country/control area} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{tidy_output}{Defaults to TRUE. 24 | If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | It is defined as equal to the week-ahead forecasted sum of 30 | power generated by plants on both TSO/DSO networks, 31 | from which is deduced: 32 | \itemize{ 33 | \item the balance (export-import) of exchanges on interconnections 34 | between neighbouring bidding zones 35 | \item the power absorbed by energy storage resources 36 | } 37 | } 38 | \examples{ 39 | df <- entsoeapi::load_week_ahead_total_forecast( 40 | eic = "10Y1001A1001A82H", 41 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 42 | period_end = lubridate::ymd(x = "2019-11-30", tz = "CET"), 43 | tidy_output = TRUE 44 | ) 45 | 46 | str(df) 47 | 48 | } 49 | -------------------------------------------------------------------------------- /man/load_year_ahead_forecast_margin.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_load.R 3 | \name{load_year_ahead_forecast_margin} 4 | \alias{load_year_ahead_forecast_margin} 5 | \title{Get Year-Ahead Forecast Margin (8.1)} 6 | \usage{ 7 | load_year_ahead_forecast_margin( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the bidding zone/ 17 | country/control area} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{tidy_output}{Defaults to TRUE. 24 | If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | It is defined as a difference between yearly forecast of 30 | available generation capacity and yearly forecast of 31 | total load, taking into account the forecast of 32 | total generation capacity forecast of availability of 33 | generation and forecast of reserves contracted for 34 | system services. 35 | } 36 | \examples{ 37 | df <- entsoeapi::load_year_ahead_forecast_margin( 38 | eic = "10Y1001A1001A82H", 39 | period_start = lubridate::ymd(x = "2019-01-01", tz = "CET"), 40 | period_end = lubridate::ymd(x = "2019-12-31", tz = "CET"), 41 | tidy_output = TRUE 42 | ) 43 | 44 | str(df) 45 | 46 | } 47 | -------------------------------------------------------------------------------- /man/load_year_ahead_total_forecast.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_load.R 3 | \name{load_year_ahead_total_forecast} 4 | \alias{load_year_ahead_total_forecast} 5 | \title{Get Year-Ahead Total Load Forecast (6.1.E)} 6 | \usage{ 7 | load_year_ahead_total_forecast( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the bidding zone/ 17 | country/control area} 18 | 19 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 22 | 23 | \item{tidy_output}{Defaults to TRUE. 24 | If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | It is defined as equal to the year-ahead forecasted sum of 30 | power generated by plants on both TSO/DSO networks, 31 | from which is deduced: 32 | \itemize{ 33 | \item the balance (export-import) of exchanges on interconnections 34 | between neighbouring bidding zones 35 | \item the power absorbed by energy storage resources 36 | } 37 | } 38 | \examples{ 39 | df <- entsoeapi::load_year_ahead_total_forecast( 40 | eic = "10Y1001A1001A82H", 41 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 42 | period_end = lubridate::ymd(x = "2019-11-30", tz = "CET"), 43 | tidy_output = TRUE 44 | ) 45 | 46 | str(df) 47 | 48 | } 49 | -------------------------------------------------------------------------------- /man/location_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{location_eic} 4 | \alias{location_eic} 5 | \title{Get Location V Energy Identification Codes} 6 | \usage{ 7 | location_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads approved location V 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | It covers an endpoint, or an IT-system. 21 | } 22 | \examples{ 23 | eic_location <- entsoeapi::location_eic() 24 | 25 | str(eic_location) 26 | 27 | } 28 | -------------------------------------------------------------------------------- /man/market_product_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{market_product_types} 5 | \alias{market_product_types} 6 | \title{List Market Product Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 12 rows and 3 columns. 9 | } 10 | \usage{ 11 | market_product_types 12 | } 13 | \description{ 14 | List Market Product Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(market_product_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/message_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{message_types} 5 | \alias{message_types} 6 | \title{List Message Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 150 rows and 3 columns. 9 | } 10 | \usage{ 11 | message_types 12 | } 13 | \description{ 14 | List Message Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(message_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/netted_volumes.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_balancing.R 3 | \name{netted_volumes} 4 | \alias{netted_volumes} 5 | \title{Get Netted Volumes (IFs IN 3.10)} 6 | \usage{ 7 | netted_volumes( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the area} 17 | 18 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 19 | One day range limit applies} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One day range limit applies} 23 | 24 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | The net position informs whether the given area imports or exports energy. 30 | Those rows which hold the queried eic value in the 31 | 'ts_connecting_domain_mrid' column 32 | show the export value. 33 | Those rows which hold the queried eic value in the 34 | 'ts_acquiring_domain_mrid' column 35 | show the import value. 36 | } 37 | \examples{ 38 | df <- entsoeapi::netted_volumes( 39 | eic = "10YCZ-CEPS-----N", 40 | period_start = lubridate::ymd(x = "2022-08-16", tz = "CET"), 41 | period_end = lubridate::ymd(x = "2022-08-17", tz = "CET"), 42 | tidy_output = TRUE 43 | ) 44 | str(df) 45 | 46 | } 47 | -------------------------------------------------------------------------------- /man/object_aggregation_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{object_aggregation_types} 5 | \alias{object_aggregation_types} 6 | \title{List Object Aggregation Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 16 rows and 3 columns. 9 | } 10 | \usage{ 11 | object_aggregation_types 12 | } 13 | \description{ 14 | List Object Aggregation Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(object_aggregation_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/outages_both.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_outages.R 3 | \name{outages_both} 4 | \alias{outages_both} 5 | \title{Get Unavailability of Production & Generation Units (15.1.A&B + 15.1.C&D)} 6 | \usage{ 7 | outages_both( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() + lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date() + lubridate::days(x = 2L), tz = "CET"), 11 | period_start_update = NULL, 12 | period_end_update = NULL, 13 | doc_status = NULL, 14 | event_nature = NULL, 15 | tidy_output = TRUE, 16 | security_token = Sys.getenv("ENTSOE_PAT") 17 | ) 18 | } 19 | \arguments{ 20 | \item{eic}{Energy Identification Code of the bidding zone/control area 21 | (To extract outages of bidding zone DE-AT-LU area, 22 | it is recommended to send queries per control area 23 | i.e. CTA|DE(50Hertz), CTA|DE(Amprion), CTA|DE(TeneTGer), 24 | CTA|DE(TransnetBW),CTA|AT,CTA|LU but not per bidding zone.)} 25 | 26 | \item{period_start}{the starting date of the in-scope period 27 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 28 | 29 | \item{period_end}{the ending date of the outage in-scope period 30 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 31 | 32 | \item{period_start_update}{notification submission/update starting date 33 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 34 | 35 | \item{period_end_update}{notification submission/update ending date 36 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 37 | 38 | \item{doc_status}{Notification document status. "A05" for active, 39 | "A09" for cancelled and "A13" for withdrawn. 40 | Defaults to NULL which means "A05" and "A09" together.} 41 | 42 | \item{event_nature}{"A53" for planned maintenance. 43 | "A54" for unplanned outage. 44 | Defaults to NULL which means both of them.} 45 | 46 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 47 | 48 | \item{security_token}{Security token for ENTSO-E transparency platform} 49 | } 50 | \description{ 51 | The planned and forced unavailability of production and 52 | generation units expected to last at least one market time unit 53 | up to 3 years ahead. The "available capacity during the event" 54 | means the minimum available generation capacity during the period specified. 55 | } 56 | \examples{ 57 | df <- entsoeapi::outages_both( 58 | eic = "10YFR-RTE------C", 59 | period_start = lubridate::ymd(x = Sys.Date() + 60 | lubridate::days(x = 1L), 61 | tz = "CET"), 62 | period_end = lubridate::ymd(x = Sys.Date() + 63 | lubridate::days(x = 2L), 64 | tz = "CET"), 65 | period_start_update = lubridate::ymd(x = Sys.Date() - 66 | lubridate::days(x = 7L), 67 | tz = "CET"), 68 | period_end_update = lubridate::ymd(x = Sys.Date(), 69 | tz = "CET") 70 | ) 71 | 72 | str(df) 73 | 74 | } 75 | -------------------------------------------------------------------------------- /man/outages_cons_units.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_outages.R 3 | \name{outages_cons_units} 4 | \alias{outages_cons_units} 5 | \title{Get Unavailability of Consumption Units. (7.1.A&B)} 6 | \usage{ 7 | outages_cons_units( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() + lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date() + lubridate::days(x = 2L), tz = "CET"), 11 | period_start_update = NULL, 12 | period_end_update = NULL, 13 | doc_status = NULL, 14 | event_nature = NULL, 15 | tidy_output = TRUE, 16 | security_token = Sys.getenv("ENTSOE_PAT") 17 | ) 18 | } 19 | \arguments{ 20 | \item{eic}{Energy Identification Code of the bidding zone/ 21 | control area 22 | (To extract outages of bidding zone DE-AT-LU area, 23 | it is recommended to send queries per control area 24 | i.e. CTA|DE(50Hertz), CTA|DE(Amprion), CTA|DE(TeneTGer), 25 | CTA|DE(TransnetBW),CTA|AT,CTA|LU but not per bidding zone.)} 26 | 27 | \item{period_start}{the starting date of the in-scope period 28 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 29 | 30 | \item{period_end}{the ending date of the outage in-scope period 31 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 32 | 33 | \item{period_start_update}{notification submission/update starting date 34 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 35 | 36 | \item{period_end_update}{notification submission/update ending date 37 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 38 | 39 | \item{doc_status}{Notification document status. "A05" for active, 40 | "A09" for cancelled and "A13" for withdrawn. 41 | Defaults to NULL which means "A05" and "A09" together.} 42 | 43 | \item{event_nature}{"A53" for planned maintenance. 44 | "A54" for unplanned outage. 45 | Defaults to NULL which means both of them.} 46 | 47 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 48 | 49 | \item{security_token}{Security token for ENTSO-E transparency platform} 50 | } 51 | \description{ 52 | Unavailability of consumption units in aggregated form. 53 | All planned and forced outages in selected area are 54 | aggregated according to the market time unit. The list of 55 | specific consumption units are not provided. 56 | } 57 | \examples{ 58 | df <- entsoeapi::outages_cons_units( 59 | eic = "10YFI-1--------U", 60 | period_start = lubridate::ymd(x = "2024-04-10", tz = "CET"), 61 | period_end = lubridate::ymd(x = "2024-04-11", tz = "CET") 62 | ) 63 | 64 | str(df) 65 | 66 | } 67 | -------------------------------------------------------------------------------- /man/outages_fallbacks.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_outages.R 3 | \name{outages_fallbacks} 4 | \alias{outages_fallbacks} 5 | \title{Get Fall-Back Procedures. (IFs IN 7.2, mFRR 3.11, aFRR 3.10)} 6 | \usage{ 7 | outages_fallbacks( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 7L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | process_type = "A63", 12 | event_nature = "A53", 13 | tidy_output = TRUE, 14 | security_token = Sys.getenv("ENTSOE_PAT") 15 | ) 16 | } 17 | \arguments{ 18 | \item{eic}{Energy Identification Code of the bidding zone/ 19 | control area} 20 | 21 | \item{period_start}{the starting date of the in-scope period 22 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 23 | 24 | \item{period_end}{the ending date of the outage in-scope period 25 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 26 | 27 | \item{process_type}{"A47" = mFRR 28 | "A51" = aFRR 29 | "A63" = imbalance netting 30 | defaults to "A63"} 31 | 32 | \item{event_nature}{"C47" = Disconnection, 33 | "A53" = Planned maintenance, 34 | "A54": Unplanned outage, 35 | "A83" = Auction cancellation (used in case 36 | no solution found or algorithm failure); 37 | Defaults to "A53".} 38 | 39 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 40 | 41 | \item{security_token}{Security token for ENTSO-E transparency platform} 42 | } 43 | \description{ 44 | It publishes of application of fall back procedures by participants 45 | in European platforms as a result of disconnection of DSO from 46 | the European platform, unavailability of European platform itself 47 | (planned or unplanned outage) or the situation where the algorithm 48 | used on the platform fails or does not find solution. 49 | } 50 | \examples{ 51 | #' 52 | df <- entsoeapi::outages_fallbacks( 53 | eic = "10YBE----------2", 54 | period_start = lubridate::ymd(x = "2023-01-01", tz = "CET"), 55 | period_end = lubridate::ymd(x = "2024-01-01", tz = "CET"), 56 | process_type = "A51", 57 | event_nature = "C47") 58 | 59 | str(df) 60 | 61 | } 62 | -------------------------------------------------------------------------------- /man/outages_gen_units.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_outages.R 3 | \name{outages_gen_units} 4 | \alias{outages_gen_units} 5 | \title{Get Unavailability of Generation Units. (15.1.A&B)} 6 | \usage{ 7 | outages_gen_units( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() + lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date() + lubridate::days(x = 2L), tz = "CET"), 11 | period_start_update = NULL, 12 | period_end_update = NULL, 13 | doc_status = NULL, 14 | event_nature = NULL, 15 | tidy_output = TRUE, 16 | security_token = Sys.getenv("ENTSOE_PAT") 17 | ) 18 | } 19 | \arguments{ 20 | \item{eic}{Energy Identification Code of the bidding zone/ 21 | control area 22 | (To extract outages of bidding zone DE-AT-LU area, 23 | it is recommended to send queries per control area 24 | i.e. CTA|DE(50Hertz), CTA|DE(Amprion), 25 | CTA|DE(TeneTGer),CTA|DE(TransnetBW), CTA|AT,CTA|LU 26 | but not per bidding zone.)} 27 | 28 | \item{period_start}{the starting date of the in-scope period 29 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 30 | 31 | \item{period_end}{the ending date of the outage in-scope period 32 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 33 | 34 | \item{period_start_update}{notification submission/update starting date 35 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 36 | 37 | \item{period_end_update}{notification submission/update ending date 38 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 39 | 40 | \item{doc_status}{Notification document status. "A05" for active, 41 | "A09" for cancelled and "A13" for withdrawn. 42 | Defaults to NULL which means "A05" and "A09" together.} 43 | 44 | \item{event_nature}{"A53" for planned maintenance. 45 | "A54" for unplanned outage. 46 | Defaults to NULL which means both of them.} 47 | 48 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 49 | 50 | \item{security_token}{Security token for ENTSO-E transparency platform} 51 | } 52 | \description{ 53 | The planned and forced unavailability of generation units 54 | expected to last at least one market time unit up to 3 years 55 | ahead. 56 | The "available capacity during the event" means the minimum 57 | available generation capacity during the period specified. 58 | } 59 | \examples{ 60 | df <- entsoeapi::outages_gen_units( 61 | eic = "10YFR-RTE------C", 62 | period_start = lubridate::ymd(x = Sys.Date() + 63 | lubridate::days(x = 1L), 64 | tz = "CET"), 65 | period_end = lubridate::ymd(x = Sys.Date() + 66 | lubridate::days(x = 2L), 67 | tz = "CET"), 68 | period_start_update = lubridate::ymd(x = Sys.Date() - 69 | lubridate::days(x = 7L), 70 | tz = "CET"), 71 | period_end_update = lubridate::ymd(x = Sys.Date(), 72 | tz = "CET") 73 | ) 74 | 75 | str(df) 76 | 77 | } 78 | -------------------------------------------------------------------------------- /man/outages_offshore_grid.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_outages.R 3 | \name{outages_offshore_grid} 4 | \alias{outages_offshore_grid} 5 | \title{Get Unavailability of Offshore Grid Infrastructure. (10.1.A&B)} 6 | \usage{ 7 | outages_offshore_grid( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() + lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date() + lubridate::days(x = 2L), tz = "CET"), 11 | period_start_update = NULL, 12 | period_end_update = NULL, 13 | doc_status = NULL, 14 | tidy_output = TRUE, 15 | security_token = Sys.getenv("ENTSOE_PAT") 16 | ) 17 | } 18 | \arguments{ 19 | \item{eic}{Energy Identification Code of the bidding zone/ 20 | control area (To extract outages of bidding zone 21 | DE-AT-LU area, it is recommended to send queries 22 | per control area i.e. CTA|DE(50Hertz), CTA|DE(Amprion), 23 | CTA|DE(TeneTGer), CTA|DE(TransnetBW),CTA|AT,CTA|LU 24 | but not per bidding zone.)} 25 | 26 | \item{period_start}{the starting date of the in-scope period 27 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 28 | 29 | \item{period_end}{the ending date of the outage in-scope period 30 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 31 | 32 | \item{period_start_update}{notification submission/update starting date 33 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 34 | 35 | \item{period_end_update}{notification submission/update ending date 36 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 37 | 38 | \item{doc_status}{Notification document status. "A05" for active, 39 | "A09" for cancelled and "A13" for withdrawn. 40 | Defaults to NULL which means "A05" and "A09" together.} 41 | 42 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 43 | 44 | \item{security_token}{Security token for ENTSO-E transparency platform} 45 | } 46 | \description{ 47 | Unavailability of the off-shore grid that reduce wind power 48 | feed-in during at least one market time unit. 49 | Wind power fed in at the time of the change in the availability 50 | is provided. 51 | } 52 | \examples{ 53 | df <- entsoeapi::outages_offshore_grid( 54 | eic = "10Y1001A1001A82H", 55 | period_start = lubridate::ymd(x = Sys.Date() - 56 | lubridate::days(x = 365L), 57 | tz = "CET"), 58 | period_end = lubridate::ymd(x = Sys.Date(), 59 | tz = "CET"), 60 | period_start_update = lubridate::ymd(x = Sys.Date() - 61 | lubridate::days(x = 365L), 62 | tz = "CET"), 63 | period_end_update = lubridate::ymd(x = Sys.Date(), 64 | tz = "CET") 65 | ) 66 | 67 | str(df) 68 | 69 | } 70 | -------------------------------------------------------------------------------- /man/outages_prod_units.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_outages.R 3 | \name{outages_prod_units} 4 | \alias{outages_prod_units} 5 | \title{Get Unavailability of Production Units. (15.1.C&D)} 6 | \usage{ 7 | outages_prod_units( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() + lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date() + lubridate::days(x = 2L), tz = "CET"), 11 | period_start_update = NULL, 12 | period_end_update = NULL, 13 | doc_status = NULL, 14 | event_nature = NULL, 15 | tidy_output = TRUE, 16 | security_token = Sys.getenv("ENTSOE_PAT") 17 | ) 18 | } 19 | \arguments{ 20 | \item{eic}{Energy Identification Code of the bidding zone/ 21 | control area (To extract outages of bidding zone 22 | DE-AT-LU area, it is recommended to send queries 23 | per control area i.e. CTA|DE(50Hertz), CTA|DE(Amprion), 24 | CTA|DE(TeneTGer), CTA|DE(TransnetBW),CTA|AT,CTA|LU 25 | but not per bidding zone.)} 26 | 27 | \item{period_start}{the starting date of the in-scope period 28 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 29 | 30 | \item{period_end}{the ending date of the outage in-scope period 31 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 32 | 33 | \item{period_start_update}{notification submission/update starting date 34 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 35 | 36 | \item{period_end_update}{notification submission/update ending date 37 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 38 | 39 | \item{doc_status}{Notification document status. "A05" for active, 40 | "A09" for cancelled and "A13" for withdrawn. 41 | Defaults to NULL which means "A05" and "A09" together.} 42 | 43 | \item{event_nature}{"A53" for planned maintenance. 44 | "A54" for unplanned outage. 45 | Defaults to NULL which means both of them.} 46 | 47 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 48 | 49 | \item{security_token}{Security token for ENTSO-E transparency platform} 50 | } 51 | \description{ 52 | The planned and forced unavailability of production units 53 | expected to last at least one market time unit up to 54 | 3 years ahead. 55 | The "available capacity during the event" means the minimum 56 | available generation capacity during the period specified. 57 | } 58 | \examples{ 59 | df <- entsoeapi::outages_prod_units( 60 | eic = "10YFR-RTE------C", 61 | period_start = lubridate::ymd(x = Sys.Date() + 62 | lubridate::days(x = 1L), 63 | tz = "CET"), 64 | period_end = lubridate::ymd(x = Sys.Date() + 65 | lubridate::days(x = 2L), 66 | tz = "CET"), 67 | period_start_update = lubridate::ymd(x = Sys.Date() - 68 | lubridate::days(x = 7L), 69 | tz = "CET"), 70 | period_end_update = lubridate::ymd(x = Sys.Date(), 71 | tz = "CET") 72 | ) 73 | 74 | str(df) 75 | 76 | } 77 | -------------------------------------------------------------------------------- /man/outages_transmission_grid.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_outages.R 3 | \name{outages_transmission_grid} 4 | \alias{outages_transmission_grid} 5 | \title{Get Unavailability of Transmission Infrastructure. (10.1.A&B)} 6 | \usage{ 7 | outages_transmission_grid( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | period_start = lubridate::ymd(Sys.Date() + lubridate::days(x = 1L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date() + lubridate::days(x = 3L), tz = "CET"), 12 | period_start_update = NULL, 13 | period_end_update = NULL, 14 | doc_status = NULL, 15 | event_nature = NULL, 16 | tidy_output = TRUE, 17 | security_token = Sys.getenv("ENTSOE_PAT") 18 | ) 19 | } 20 | \arguments{ 21 | \item{eic_in}{Energy Identification Code of the IN bidding zone area} 22 | 23 | \item{eic_out}{Energy Identification Code of the OUT bidding zone area} 24 | 25 | \item{period_start}{the starting date of the in-scope period 26 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 27 | 28 | \item{period_end}{the ending date of the outage in-scope period 29 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 30 | 31 | \item{period_start_update}{notification submission/update starting date 32 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 33 | 34 | \item{period_end_update}{notification submission/update ending date 35 | in POSIXct or YYYY-MM-DD HH:MM:SS format} 36 | 37 | \item{doc_status}{Notification document status. "A05" for active, 38 | "A09" for cancelled and "A13" for withdrawn. 39 | Defaults to NULL which means "A05" and "A09" together.} 40 | 41 | \item{event_nature}{"A53" for planned maintenance. 42 | "A54" for unplanned outage. 43 | Defaults to NULL which means both of them.} 44 | 45 | \item{tidy_output}{Defaults to TRUE. flatten nested tables} 46 | 47 | \item{security_token}{Security token for ENTSO-E transparency platform} 48 | } 49 | \description{ 50 | The planned and forced unavailability, including changes in 51 | unavailability of interconnections in the transmission grid 52 | that reduce transfer capacities between areas during at least 53 | one market time unit including information about new 54 | net transfer capacity. 55 | } 56 | \examples{ 57 | df <- entsoeapi::outages_transmission_grid( 58 | eic_in = "10YFR-RTE------C", 59 | eic_out = "10Y1001A1001A82H", 60 | period_start = lubridate::ymd(x = Sys.Date() + 61 | lubridate::days(x = 1), 62 | tz = "CET"), 63 | period_end = lubridate::ymd(x = Sys.Date() + 64 | lubridate::days(x = 2), 65 | tz = "CET"), 66 | period_start_update = lubridate::ymd(x = Sys.Date() - 67 | lubridate::days(x = 7), 68 | tz = "CET"), 69 | period_end_update = lubridate::ymd(x = Sys.Date(), 70 | tz = "CET") 71 | ) 72 | 73 | str(df) 74 | 75 | } 76 | -------------------------------------------------------------------------------- /man/party_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{party_eic} 4 | \alias{party_eic} 5 | \title{Get Party_X Energy Identification Codes} 6 | \usage{ 7 | party_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads approved party X 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | It covers market participants. 21 | } 22 | \examples{ 23 | eic_party <- entsoeapi::party_eic() 24 | 25 | str(eic_party) 26 | 27 | } 28 | -------------------------------------------------------------------------------- /man/payment_terms_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{payment_terms_types} 5 | \alias{payment_terms_types} 6 | \title{List Payment Terms Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 3 rows and 3 columns. 9 | } 10 | \usage{ 11 | payment_terms_types 12 | } 13 | \description{ 14 | List Payment Terms Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(payment_terms_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/price_category_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{price_category_types} 5 | \alias{price_category_types} 6 | \title{List Price Category Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 8 rows and 3 columns. 9 | } 10 | \usage{ 11 | price_category_types 12 | } 13 | \description{ 14 | List Price Category Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(price_category_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/price_component_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{price_component_types} 5 | \alias{price_component_types} 6 | \title{List Price Component Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 3 rows and 3 columns. 9 | } 10 | \usage{ 11 | price_component_types 12 | } 13 | \description{ 14 | List Price Component Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(price_component_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/price_direction_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{price_direction_types} 5 | \alias{price_direction_types} 6 | \title{List Price Direction Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 2 rows and 3 columns. 9 | } 10 | \usage{ 11 | price_direction_types 12 | } 13 | \description{ 14 | List Price Direction Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(price_direction_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/process_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{process_types} 5 | \alias{process_types} 6 | \title{List Process Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 75 rows and 3 columns. 9 | } 10 | \usage{ 11 | process_types 12 | } 13 | \description{ 14 | List Process Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(process_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/quality_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{quality_types} 5 | \alias{quality_types} 6 | \title{List Quality Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 6 rows and 3 columns. 9 | } 10 | \usage{ 11 | quality_types 12 | } 13 | \description{ 14 | List Quality Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(quality_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/reason_code_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{reason_code_types} 5 | \alias{reason_code_types} 6 | \title{List Reason Code Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 161 rows and 3 columns. 9 | } 10 | \usage{ 11 | reason_code_types 12 | } 13 | \description{ 14 | List Reason Code Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(reason_code_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/redispatching_internal.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_congestion.R 3 | \name{redispatching_internal} 4 | \alias{redispatching_internal} 5 | \title{Get Redispatching Internal (13.1.A)} 6 | \usage{ 7 | redispatching_internal( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the control area} 17 | 18 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 19 | 20 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 21 | 22 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 23 | 24 | \item{security_token}{Security token for ENTSO-E transparency platform} 25 | } 26 | \description{ 27 | Changes in production and load (increase or decrease) to 28 | relieve internal congestion lines that exceeds its capacity. 29 | 100 documents limit applies!! 30 | } 31 | \examples{ 32 | # Netherlands' internal redispatching. 33 | df <- entsoeapi::redispatching_internal( 34 | eic = "10YNL----------L", 35 | period_start = lubridate::ymd(x = "2023-11-01", tz = "CET"), 36 | period_end = lubridate::ymd(x = "2023-12-01", tz = "CET"), 37 | tidy_output = TRUE 38 | ) 39 | 40 | str(df) 41 | 42 | } 43 | -------------------------------------------------------------------------------- /man/redispatching_x_border.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_congestion.R 3 | \name{redispatching_x_border} 4 | \alias{redispatching_x_border} 5 | \title{title 6 | Get Redispatching Cross Border (13.1.A)} 7 | \usage{ 8 | redispatching_x_border( 9 | eic_in = NULL, 10 | eic_out = NULL, 11 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 12 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 13 | tidy_output = TRUE, 14 | security_token = Sys.getenv("ENTSOE_PAT") 15 | ) 16 | } 17 | \arguments{ 18 | \item{eic_in}{Energy Identification Code of the control area} 19 | 20 | \item{eic_out}{Energy Identification Code of the control area} 21 | 22 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format} 23 | 24 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format} 25 | 26 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 27 | 28 | \item{security_token}{Security token for ENTSO-E transparency platform} 29 | } 30 | \description{ 31 | Changes in production and load (increase or decrease) to 32 | relieve congested internal lines that exceeds its capacity. 33 | 100 documents limit applies!! 34 | } 35 | \examples{ 36 | # Germany's cross-border redispatching between TenneT and 50Hertz TSO. 37 | df <- entsoeapi::redispatching_x_border( 38 | eic_in = "10YDE-EON------1", 39 | eic_out = "10YDE-VE-------2", 40 | period_start = lubridate::ymd(x = "2024-09-01", tz = "CET"), 41 | period_end = lubridate::ymd(x = "2024-10-01", tz = "CET"), 42 | tidy_output = TRUE 43 | ) 44 | 45 | str(df) 46 | 47 | } 48 | -------------------------------------------------------------------------------- /man/resource_object_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{resource_object_eic} 4 | \alias{resource_object_eic} 5 | \title{Get Resource Object W Energy Identification Codes} 6 | \usage{ 7 | resource_object_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads approved resource object W 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | A resource that can either produce or consume energy 21 | and that is reported in a schedule. 22 | } 23 | \examples{ 24 | eic_resource_object <- entsoeapi::resource_object_eic() 25 | 26 | str(eic_resource_object) 27 | 28 | } 29 | -------------------------------------------------------------------------------- /man/rights_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{rights_types} 5 | \alias{rights_types} 6 | \title{List Rights Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 6 rows and 3 columns. 9 | } 10 | \usage{ 11 | rights_types 12 | } 13 | \description{ 14 | List Rights Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(rights_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/role_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{role_types} 5 | \alias{role_types} 6 | \title{List Role Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 59 rows and 3 columns. 9 | } 10 | \usage{ 11 | role_types 12 | } 13 | \description{ 14 | List Role Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(role_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/status_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{status_types} 5 | \alias{status_types} 6 | \title{List Status Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 76 rows and 3 columns. 9 | } 10 | \usage{ 11 | status_types 12 | } 13 | \description{ 14 | List Status Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(status_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/substation_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{substation_eic} 4 | \alias{substation_eic} 5 | \title{Get Substation A Energy Identification Codes} 6 | \usage{ 7 | substation_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads all approved substation A 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | Substation is a facility equipment that steps up or 21 | steps down the voltage in utility power lines. 22 | Voltage is stepped up where power is sent through 23 | long distance transmission lines, and stepped down 24 | where the power is to enter the local distribution lines. 25 | They can be classified as normal outside substation, 26 | armoured substation and underground substation. 27 | } 28 | \examples{ 29 | eic_substation <- entsoeapi::substation_eic() 30 | 31 | str(eic_substation) 32 | 33 | } 34 | -------------------------------------------------------------------------------- /man/tariff_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{tariff_types} 5 | \alias{tariff_types} 6 | \title{List Tariff Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 7 rows and 3 columns. 9 | } 10 | \usage{ 11 | tariff_types 12 | } 13 | \description{ 14 | List Tariff Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(tariff_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/tie_line_eic.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_helpers.R 3 | \name{tie_line_eic} 4 | \alias{tie_line_eic} 5 | \title{Get Tie Line T Energy Identification Codes} 6 | \usage{ 7 | tie_line_eic() 8 | } 9 | \value{ 10 | A tibble of accordingly filtered EIC codes, which contains such columns as 11 | \code{EicCode}, \code{EicDisplayName}, \code{EicLongName}, \code{EicParent}, 12 | \code{EicResponsibleParty}, \code{EicStatus}, \code{MarketParticipantPostalCode}, 13 | \code{MarketParticipantIsoCountryCode}, \code{MarketParticipantVatCode}, 14 | \code{EicTypeFunctionList} and \code{type}. 15 | } 16 | \description{ 17 | This function downloads approved tie line T 18 | energy identification codes from this site: 19 | https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes 20 | It covers a transmission line that connects different areas 21 | excluding HVDC interconnectors. 22 | } 23 | \examples{ 24 | eic_tie_line <- entsoeapi::tie_line_eic() 25 | 26 | str(eic_tie_line) 27 | 28 | } 29 | -------------------------------------------------------------------------------- /man/timeframe_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{timeframe_types} 5 | \alias{timeframe_types} 6 | \title{List Timeframe Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 46 rows and 3 columns. 9 | } 10 | \usage{ 11 | timeframe_types 12 | } 13 | \description{ 14 | List Timeframe Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(timeframe_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/transm_already_allocated_cap.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_transmission.R 3 | \name{transm_already_allocated_cap} 4 | \alias{transm_already_allocated_cap} 5 | \title{Get Total Already Allocated Capacity (12.1.C)} 6 | \usage{ 7 | transm_already_allocated_cap( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | auction_type = "A04", 13 | contract_type = "A05", 14 | tidy_output = FALSE, 15 | security_token = Sys.getenv("ENTSOE_PAT") 16 | ) 17 | } 18 | \arguments{ 19 | \item{eic_in}{Energy Identification Code of the bidding zone 20 | or control area (TSO)} 21 | 22 | \item{eic_out}{Energy Identification Code of the bidding zone 23 | or control area (TSO)} 24 | 25 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 26 | One year range limit applies} 27 | 28 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 29 | One year range limit applies} 30 | 31 | \item{auction_type}{Auction category, valid values can be checked 32 | from auction_types table; 33 | Defaults to "A04" (Mixed)} 34 | 35 | \item{contract_type}{Contract market agreement type, valid values 36 | can be checked from contract_types table; 37 | Defaults to "A05" (Total)} 38 | 39 | \item{tidy_output}{Defaults to TRUE. 40 | If TRUE, then flatten nested tables.} 41 | 42 | \item{security_token}{Security token for ENTSO-E transparency platform} 43 | } 44 | \description{ 45 | Total capacity allocated, for all time horizons 46 | (including Intra-Day) after each allocation process 47 | per market time unit. 48 | } 49 | \examples{ 50 | df <- entsoeapi::transm_already_allocated_cap( 51 | eic_in = "10YDE-VE-------2", 52 | eic_out = "10YCZ-CEPS-----N", 53 | period_start = lubridate::ymd(x = "2019-02-01", tz = "CET"), 54 | period_end = lubridate::ymd(x = "2019-02-02", tz = "CET"), 55 | auction_type = "A02", 56 | contract_type = "A01" 57 | ) 58 | str(df) 59 | 60 | } 61 | -------------------------------------------------------------------------------- /man/transm_day_ahead_comm_sched.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_transmission.R 3 | \name{transm_day_ahead_comm_sched} 4 | \alias{transm_day_ahead_comm_sched} 5 | \title{Get Day-Ahead Commercial Schedules (12.1.F)} 6 | \usage{ 7 | transm_day_ahead_comm_sched( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic_in}{Energy Identification Code of in domain} 18 | 19 | \item{eic_out}{Energy Identification Code of out domain} 20 | 21 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One year range limit applies} 23 | 24 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 25 | One year range limit applies} 26 | 27 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 28 | 29 | \item{security_token}{Security token for ENTSO-E transparency platform} 30 | } 31 | \description{ 32 | Day-ahead commercial exchanges in aggregated form between 33 | bidding zones per direction and market time unit. 34 | } 35 | \examples{ 36 | df1 <- entsoeapi::transm_day_ahead_comm_sched( 37 | eic_in = "10YCZ-CEPS-----N", 38 | eic_out = "10YSK-SEPS-----K", 39 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 40 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 41 | tidy_output = TRUE 42 | ) 43 | str(df1) 44 | 45 | df2 <- entsoeapi::transm_day_ahead_comm_sched( 46 | eic_in = "10YDK-1--------W", 47 | eic_out = "10Y1001A1001A82H", 48 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 49 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 50 | tidy_output = TRUE 51 | ) 52 | str(df2) 53 | 54 | } 55 | -------------------------------------------------------------------------------- /man/transm_day_ahead_prices.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_transmission.R 3 | \name{transm_day_ahead_prices} 4 | \alias{transm_day_ahead_prices} 5 | \title{Get Day-Ahead Prices (12.1.D)} 6 | \usage{ 7 | transm_day_ahead_prices( 8 | eic = NULL, 9 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 10 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 11 | tidy_output = TRUE, 12 | security_token = Sys.getenv("ENTSOE_PAT") 13 | ) 14 | } 15 | \arguments{ 16 | \item{eic}{Energy Identification Code of the related domain} 17 | 18 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 19 | One year range limit applies} 20 | 21 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One year range limit applies} 23 | 24 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 25 | 26 | \item{security_token}{Security token for ENTSO-E transparency platform} 27 | } 28 | \description{ 29 | Prices in currency/MWh created on spot (Day-Ahead) market. 30 | The data is delivered for each market time unit. 31 | } 32 | \examples{ 33 | df1 <- entsoeapi::transm_day_ahead_prices( 34 | eic = "10YCZ-CEPS-----N", 35 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 36 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 37 | tidy_output = TRUE 38 | ) 39 | str(df1) 40 | 41 | df2 <- entsoeapi::transm_day_ahead_prices( 42 | eic = "10YDK-1--------W", 43 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 44 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 45 | tidy_output = TRUE 46 | ) 47 | str(df2) 48 | 49 | } 50 | -------------------------------------------------------------------------------- /man/transm_day_ahead_transf_cap.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_transmission.R 3 | \name{transm_day_ahead_transf_cap} 4 | \alias{transm_day_ahead_transf_cap} 5 | \title{Get Day-Ahead Forecasted Transfer Capacities (11.1.A)} 6 | \usage{ 7 | transm_day_ahead_transf_cap( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic_in}{Energy Identification Code of in domain} 18 | 19 | \item{eic_out}{Energy Identification Code of out domain} 20 | 21 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One year range limit applies} 23 | 24 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 25 | One year range limit applies} 26 | 27 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 28 | 29 | \item{security_token}{Security token for ENTSO-E transparency platform} 30 | } 31 | \description{ 32 | Day-ahead forecasted transmission capacities (MW) 33 | per direction between areas. 34 | } 35 | \examples{ 36 | df1 <- entsoeapi::transm_day_ahead_transf_cap( 37 | eic_in = "10YCZ-CEPS-----N", 38 | eic_out = "10YSK-SEPS-----K", 39 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 40 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 41 | tidy_output = TRUE 42 | ) 43 | 44 | str(df1) 45 | 46 | df2 <- entsoeapi::transm_day_ahead_transf_cap( 47 | eic_in = "10YDK-1--------W", 48 | eic_out = "10Y1001A1001A82H", 49 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 50 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 51 | tidy_output = TRUE 52 | ) 53 | 54 | str(df2) 55 | 56 | } 57 | -------------------------------------------------------------------------------- /man/transm_total_comm_sched.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_transmission.R 3 | \name{transm_total_comm_sched} 4 | \alias{transm_total_comm_sched} 5 | \title{Get Total Commercial Schedules (12.1.F)} 6 | \usage{ 7 | transm_total_comm_sched( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic_in}{Energy Identification Code of in domain} 18 | 19 | \item{eic_out}{Energy Identification Code of out domain} 20 | 21 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One year range limit applies} 23 | 24 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 25 | One year range limit applies} 26 | 27 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 28 | 29 | \item{security_token}{Security token for ENTSO-E transparency platform} 30 | } 31 | \description{ 32 | Aggregated capacity nominated for all time horizons 33 | (including Intra-Day) corresponding to implicit and 34 | explicit allocations after each nomination process. 35 | } 36 | \examples{ 37 | df1 <- entsoeapi::transm_total_comm_sched( 38 | eic_in = "10YCZ-CEPS-----N", 39 | eic_out = "10YSK-SEPS-----K", 40 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 41 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 42 | tidy_output = TRUE 43 | ) 44 | str(df1) 45 | 46 | df2 <- entsoeapi::transm_total_comm_sched( 47 | eic_in = "10YDK-1--------W", 48 | eic_out = "10Y1001A1001A82H", 49 | period_start = lubridate::ymd(x = "2019-11-01", tz = "CET"), 50 | period_end = lubridate::ymd(x = "2019-12-01", tz = "CET"), 51 | tidy_output = TRUE 52 | ) 53 | str(df2) 54 | 55 | } 56 | -------------------------------------------------------------------------------- /man/transm_total_nominated_cap.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_transmission.R 3 | \name{transm_total_nominated_cap} 4 | \alias{transm_total_nominated_cap} 5 | \title{Get Total Nominated Capacity (12.1.B)} 6 | \usage{ 7 | transm_total_nominated_cap( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic_in}{Energy Identification Code of in domain} 18 | 19 | \item{eic_out}{Energy Identification Code of out domain} 20 | 21 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One year range limit applies} 23 | 24 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 25 | One year range limit applies} 26 | 27 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 28 | 29 | \item{security_token}{Security token for ENTSO-E transparency platform} 30 | } 31 | \description{ 32 | Aggregated capacity nominated by market participants from 33 | time horizons (including Intra-Day) corresponding to explicit 34 | allocations, agreed between the TSOs and confirmed 35 | to the market. 36 | } 37 | \examples{ 38 | df <- entsoeapi::transm_total_nominated_cap( 39 | eic_in = "10YDE-VE-------2", 40 | eic_out = "10YCZ-CEPS-----N", 41 | period_start = lubridate::ymd(x = "2019-02-01", tz = "CET"), 42 | period_end = lubridate::ymd(x = "2019-03-01", tz = "CET"), 43 | tidy_output = TRUE 44 | ) 45 | 46 | str(df) 47 | 48 | } 49 | -------------------------------------------------------------------------------- /man/transm_x_border_phys_flow.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/en_transmission.R 3 | \name{transm_x_border_phys_flow} 4 | \alias{transm_x_border_phys_flow} 5 | \title{Get Cross-Border Physical Flow (12.1.G)} 6 | \usage{ 7 | transm_x_border_phys_flow( 8 | eic_in = NULL, 9 | eic_out = NULL, 10 | period_start = lubridate::ymd(Sys.Date() - lubridate::days(x = 1L), tz = "CET"), 11 | period_end = lubridate::ymd(Sys.Date(), tz = "CET"), 12 | tidy_output = TRUE, 13 | security_token = Sys.getenv("ENTSOE_PAT") 14 | ) 15 | } 16 | \arguments{ 17 | \item{eic_in}{Energy Identification Code of in domain} 18 | 19 | \item{eic_out}{Energy Identification Code of out domain} 20 | 21 | \item{period_start}{POSIXct or YYYY-MM-DD HH:MM:SS format 22 | One year range limit applies} 23 | 24 | \item{period_end}{POSIXct or YYYY-MM-DD HH:MM:SS format 25 | Minimum time interval in query response is an MTU period, 26 | but 1 year range limit applies.} 27 | 28 | \item{tidy_output}{Defaults to TRUE. If TRUE, then flatten nested tables.} 29 | 30 | \item{security_token}{Security token for ENTSO-E transparency platform} 31 | } 32 | \description{ 33 | It is the measured real flow of energy between 34 | the neighbouring areas on the cross borders. 35 | } 36 | \examples{ 37 | df1 <- entsoeapi::transm_x_border_phys_flow( 38 | eic_in = "10Y1001A1001A83F", 39 | eic_out = "10YCZ-CEPS-----N", 40 | period_start = lubridate::ymd(x = "2020-01-01", tz = "CET"), 41 | period_end = lubridate::ymd(x = "2020-01-02", tz = "CET"), 42 | tidy_output = TRUE 43 | ) 44 | 45 | str(df1) 46 | 47 | df2 <- entsoeapi::transm_x_border_phys_flow( 48 | eic_in = "10YCZ-CEPS-----N", 49 | eic_out = "10Y1001A1001A83F", 50 | period_start = lubridate::ymd(x = "2020-01-01", tz = "CET"), 51 | period_end = lubridate::ymd(x = "2020-01-02", tz = "CET"), 52 | tidy_output = TRUE 53 | ) 54 | 55 | str(df2) 56 | 57 | } 58 | -------------------------------------------------------------------------------- /man/transmission_pair_eic_dict.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{transmission_pair_eic_dict} 5 | \alias{transmission_pair_eic_dict} 6 | \title{List Transmission Pair EIC Dictionary} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 114 rows and 8 columns. 9 | } 10 | \usage{ 11 | transmission_pair_eic_dict 12 | } 13 | \description{ 14 | List Transmission Pair EIC Dictionary 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(transmission_pair_eic_dict) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/unit_multiplier.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{unit_multiplier} 5 | \alias{unit_multiplier} 6 | \title{List Unit Multiplier} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 1 rows and 3 columns. 9 | } 10 | \usage{ 11 | unit_multiplier 12 | } 13 | \description{ 14 | List Unit Multiplier 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(unit_multiplier) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/unit_of_measure_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{unit_of_measure_types} 5 | \alias{unit_of_measure_types} 6 | \title{List Unit of Measure Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 33 rows and 3 columns. 9 | } 10 | \usage{ 11 | unit_of_measure_types 12 | } 13 | \description{ 14 | List Unit of Measure Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(unit_of_measure_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /man/unit_symbol_types.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/data.R 3 | \docType{data} 4 | \name{unit_symbol_types} 5 | \alias{unit_symbol_types} 6 | \title{List Unit Symbol Types} 7 | \format{ 8 | An object of class \code{data.table} (inherits from \code{data.frame}) with 11 rows and 3 columns. 9 | } 10 | \usage{ 11 | unit_symbol_types 12 | } 13 | \description{ 14 | List Unit Symbol Types 15 | } 16 | \examples{ 17 | 18 | library(entsoeapi) 19 | 20 | str(unit_symbol_types) 21 | 22 | } 23 | \keyword{datasets} 24 | -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- 1 | # This file is part of the standard setup for testthat. 2 | # It is recommended that you do not modify it. 3 | # 4 | # Where should you do additional test configuration? 5 | # Learn more about the roles of various files in: 6 | # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview 7 | # * https://testthat.r-lib.org/articles/special-files.html 8 | 9 | library(testthat) 10 | library(entsoeapi) 11 | 12 | test_check("entsoeapi") 13 | -------------------------------------------------------------------------------- /tests/testthat/test-en_helpers.R: -------------------------------------------------------------------------------- 1 | testthat::test_that( 2 | desc = "all_approved_eic() works", 3 | code = { 4 | testthat::expect_no_error( 5 | object = all_approved_eic() 6 | ) 7 | testthat::expect_error( 8 | object = all_approved_eic("foo"), 9 | info = "Error in all_approved_eic('foo') : unused argument ('foo')" 10 | ) 11 | } 12 | ) 13 | 14 | 15 | 16 | testthat::test_that( 17 | desc = "responses got and appended into a tibble", 18 | code = { 19 | tbl <- all_approved_eic() 20 | testthat::expect_s3_class( 21 | object = tbl, 22 | class = "tbl_df", 23 | exact = FALSE 24 | ) 25 | testthat::expect_equal( 26 | object = anyNA(tbl$type), 27 | expected = FALSE 28 | ) 29 | testthat::expect_contains( 30 | object = names(tbl), 31 | expected = c("EicCode", "EicLongName") 32 | ) 33 | } 34 | ) 35 | 36 | 37 | 38 | testthat::test_that( 39 | desc = "responses got and appended into a tibble", 40 | code = { 41 | tbl <- all_allocated_eic() 42 | testthat::expect_s3_class( 43 | object = tbl, 44 | class = "tbl_df", 45 | exact = FALSE 46 | ) 47 | testthat::expect_equal( 48 | object = anyNA(tbl$created_date_time), 49 | expected = FALSE 50 | ) 51 | testthat::expect_contains( 52 | object = names(tbl), 53 | expected = c( 54 | "eic_code", 55 | "long_name", 56 | "display_name" 57 | ) 58 | ) 59 | } 60 | ) 61 | --------------------------------------------------------------------------------