Skip to content

Commit 883224a

Browse files
authored
Merge pull request #68 from krose/develop
Develop 0.9.7 >> 1.0.0
2 parents ae01d67 + 20ec720 commit 883224a

164 files changed

Lines changed: 10570 additions & 3422 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.Rbuildignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sandbox/
1212
^_pkgdown\.yml$
1313
^docs$
1414
^pkgdown$
15-
devel.R
15+
devel/
1616
^RELEASE_CHECKLIST\.md$
1717
^cran-comments\.md$
1818
^\.urlchecker$

DESCRIPTION

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
Package: entsoeapi
22
Type: Package
3-
Title: R Client for the 'ENTSO-E' Transparency Platform API
4-
Version: 0.9.7
3+
Title: Client for the 'ENTSO-E' Transparency Platform API
4+
Version: 1.0.0
55
Authors@R: c(person("Kenneth", "Rose", role=c("aut", "cph"), email="kennethrose82@gmail.com"),
66
person("Sándor", "Budai", role=c("aut", "cre", "cph"), email="sbudai.ga@gmail.com"))
77
Description: Provides a standardized R client for the 'ENTSO-E' (European Network of
8-
Transmission System Operators for Electricity) Transparency Platform API.
8+
Transmission System Operators for Electricity) Transparency Platform
9+
<https://transparency.entsoe.eu> API.
910
Covers Market, Load, Generation, Transmission, Outages, and Balancing
1011
endpoints. Automatically handles query pagination, XML-to-tabular conversion,
1112
response caching, and code list lookups. Requires a registered 'ENTSO-E'
@@ -15,13 +16,11 @@ Imports:
1516
cachem,
1617
cli,
1718
checkmate,
18-
dplyr,
19+
dplyr (>= 1.1.0),
1920
httr2,
2021
lubridate,
21-
purrr,
2222
snakecase,
2323
stringr,
24-
tibble,
2524
tidyr,
2625
utils,
2726
xml2,
@@ -33,11 +32,13 @@ URL: https://github.com/krose/entsoeapi/, https://krose.github.io/entsoeapi/
3332
BugReports: https://github.com/krose/entsoeapi/issues
3433
Roxygen: list(markdown = TRUE)
3534
RoxygenNote: 7.3.3
36-
Depends: R (>= 4.1.0)
37-
Suggests:
35+
Depends: R (>= 4.2.0)
36+
Suggests:
3837
knitr,
3938
rmarkdown,
4039
testthat (>= 3.0.0),
40+
tibble,
41+
tidyselect,
4142
ggplot2
4243
VignetteBuilder: knitr
4344
Config/testthat/edition: 3

NAMESPACE

Lines changed: 94 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export(accounting_point_eic)
44
export(activated_balancing_prices)
55
export(aggregated_balancing_energy_bids)
6+
export(aggregated_bids)
67
export(all_approved_eic)
78
export(allocated_transfer_capacities_3rd_countries)
89
export(allocation_of_cross_zonal_balancing_cap)
@@ -13,21 +14,23 @@ export(balancing_border_cap_limit)
1314
export(balancing_energy_bids)
1415
export(changes_to_bid_availability)
1516
export(congestion_income)
17+
export(continuous_offered_transfer_capacities)
1618
export(continuous_offered_transfer_capacity)
1719
export(contracted_reserves)
1820
export(costs_of_congestion_management)
1921
export(countertrading)
2022
export(cross_border_physical_flows)
2123
export(current_balancing_state)
2224
export(day_ahead_commercial_sched)
23-
export(day_ahead_prices)
2425
export(elastic_demands)
26+
export(energy_prices)
2527
export(exchanged_volumes)
2628
export(exchanged_volumes_per_border)
2729
export(expansion_and_dismantling_project)
30+
export(explicit_offered_transfer_capacities)
2831
export(explicit_offered_transfer_capacity)
2932
export(fcr_total_capacity)
30-
export(financial_expenses_and_income_for_balancing)
33+
export(financial_expenses_and_income)
3134
export(flow_based_allocations)
3235
export(forecasted_transfer_capacities)
3336
export(gen_day_ahead_forecast)
@@ -40,8 +43,10 @@ export(gen_wind_solar_forecasts)
4043
export(hvdc_link_constrains)
4144
export(imbalance_prices)
4245
export(imbalance_volumes)
46+
export(implicit_offered_transfer_capacities)
4347
export(implicit_offered_transfer_capacity)
4448
export(intraday_cross_border_transfer_limits)
49+
export(intraday_prices)
4550
export(load_actual_total)
4651
export(load_day_ahead_total_forecast)
4752
export(load_month_ahead_total_forecast)
@@ -50,7 +55,9 @@ export(load_year_ahead_forecast_margin)
5055
export(load_year_ahead_total_forecast)
5156
export(location_eic)
5257
export(net_positions)
58+
export(net_transfer_capacities)
5359
export(netted_volumes)
60+
export(netted_volumes_per_border)
5461
export(outages_both)
5562
export(outages_cons_units)
5663
export(outages_fallbacks)
@@ -63,14 +70,97 @@ export(procured_balancing_capacity)
6370
export(redispatching_cross_border)
6471
export(redispatching_internal)
6572
export(resource_object_eic)
66-
export(rr_actual_capacity)
6773
export(rr_and_frr_actual_capacity)
6874
export(shares_of_fcr_capacity)
69-
export(sharing_of_frr_capacity)
75+
export(sharing_of_rr_and_frr_capacity)
7076
export(substation_eic)
7177
export(there_is_provider)
7278
export(tie_line_eic)
7379
export(total_commercial_sched)
7480
export(total_nominated_capacity)
7581
importFrom(cachem,cache_mem)
82+
importFrom(checkmate,assert_choice)
83+
importFrom(checkmate,assert_count)
84+
importFrom(checkmate,assert_data_frame)
85+
importFrom(checkmate,assert_flag)
86+
importFrom(checkmate,assert_integerish)
87+
importFrom(checkmate,assert_string)
88+
importFrom(cli,cli_abort)
89+
importFrom(cli,cli_alert)
90+
importFrom(cli,cli_alert_info)
91+
importFrom(cli,cli_alert_success)
92+
importFrom(cli,cli_alert_warning)
93+
importFrom(cli,cli_h1)
94+
importFrom(cli,cli_progress_bar)
95+
importFrom(cli,cli_progress_done)
96+
importFrom(cli,cli_progress_update)
97+
importFrom(cli,cli_warn)
98+
importFrom(dplyr,across)
99+
importFrom(dplyr,all_of)
100+
importFrom(dplyr,any_of)
101+
importFrom(dplyr,arrange)
102+
importFrom(dplyr,bind_cols)
103+
importFrom(dplyr,bind_rows)
104+
importFrom(dplyr,case_when)
105+
importFrom(dplyr,distinct)
106+
importFrom(dplyr,everything)
107+
importFrom(dplyr,full_join)
108+
importFrom(dplyr,group_by)
109+
importFrom(dplyr,lead)
110+
importFrom(dplyr,left_join)
111+
importFrom(dplyr,matches)
112+
importFrom(dplyr,mutate)
113+
importFrom(dplyr,n)
114+
importFrom(dplyr,relocate)
115+
importFrom(dplyr,rename)
116+
importFrom(dplyr,rename_with)
117+
importFrom(dplyr,select)
118+
importFrom(dplyr,ungroup)
119+
importFrom(httr2,req_method)
120+
importFrom(httr2,req_perform)
121+
importFrom(httr2,req_progress)
122+
importFrom(httr2,req_retry)
123+
importFrom(httr2,req_timeout)
124+
importFrom(httr2,req_url_path_append)
125+
importFrom(httr2,req_user_agent)
126+
importFrom(httr2,req_verbose)
127+
importFrom(httr2,request)
128+
importFrom(httr2,resp_body_html)
129+
importFrom(httr2,resp_body_json)
130+
importFrom(httr2,resp_body_raw)
131+
importFrom(httr2,resp_body_xml)
132+
importFrom(httr2,resp_content_type)
133+
importFrom(httr2,resp_status)
134+
importFrom(httr2,resp_status_desc)
135+
importFrom(lubridate,days)
136+
importFrom(lubridate,duration)
137+
importFrom(lubridate,parse_date_time)
138+
importFrom(lubridate,year)
139+
importFrom(lubridate,ymd)
140+
importFrom(snakecase,to_snake_case)
76141
importFrom(stats,setNames)
142+
importFrom(stringr,str_c)
143+
importFrom(stringr,str_detect)
144+
importFrom(stringr,str_extract)
145+
importFrom(stringr,str_match)
146+
importFrom(stringr,str_match_all)
147+
importFrom(stringr,str_remove_all)
148+
importFrom(stringr,str_replace)
149+
importFrom(stringr,str_replace_all)
150+
importFrom(stringr,str_split_1)
151+
importFrom(stringr,str_sub)
152+
importFrom(stringr,str_subset)
153+
importFrom(tidyr,fill)
154+
importFrom(tidyr,nest)
155+
importFrom(tidyr,unite)
156+
importFrom(utils,read.table)
157+
importFrom(utils,unzip)
158+
importFrom(xml2,as_list)
159+
importFrom(xml2,as_xml_document)
160+
importFrom(xml2,read_xml)
161+
importFrom(xml2,xml_children)
162+
importFrom(xml2,xml_contents)
163+
importFrom(xml2,xml_length)
164+
importFrom(xml2,xml_name)
165+
importFrom(xml2,xml_text)
166+
importFrom(xmlconvert,xml_to_list)

NEWS.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
# entsoeapi v1.0.0 (2026-03-25)
2+
3+
## New functionality
4+
5+
- The `implicit_offered_transfer_capacities()` function has been introduced (we incorrectly stated earlier that this function had been introduced)
6+
- The `explicit_offered_transfer_capacities()` function has been introduced (we incorrectly stated earlier that this function had been introduced)
7+
- The `continuous_offered_transfer_capacities()` function has been introduced (we incorrectly stated earlier that this function had been introduced)
8+
- The `netted_volumes_per_border()` function has been introduced (we incorrectly stated earlier that this function had been introduced)
9+
- The `eic_functions()` and `all_allocated_eic()` functions have been introduced.
10+
- The processing capability of `P3M` data resolution has been added to the engine.
11+
12+
## Changes
13+
14+
- The `aggregated_balancing_energy_bids()` function's `process_type` argument additionally can be set as `A67` or `A68` from now on.
15+
- The "See Also" blocks have been added to each help.
16+
- The result table of `imbalance_prices()` call got more columns to display.
17+
- The `deactivation_requested_date_and_or_time_date` and the `eic_code_market_participant_street_address` columns have been added to `all_allocated_eic()` function's resulting table.
18+
- The `gen_installed_capacity_per_pt` and the `gen_installed_capacity_per_pu` functions got a new `tidy_output` argument.
19+
- The XML extracting engine further improved by which the `flow_based_allocations` function's resulting table composed properly from now on.
20+
- The `tibble`, `purrr`, `tidyselect` package dependencies (Imports) removed from the code.
21+
22+
## Possibly breaking changes
23+
24+
- The `day_ahead_prices()` function has been renamed to `energy_prices()` and it allows to query day-ahead and intraday prices too.
25+
- The resulting table's column names converted to snake case in the `party_eic()`, `area_eic()`, `accounting_point_eic()`, `tie_line_eic()`, `location_eic()`, `resource_object_eic()`, `substation_eic()` and `all_approved_eic()` function.
26+
- The `financial_expenses_and_income_for_balancing()` renamed to `financial_expenses_and_income()`.
27+
- The `sharing_of_frr_capacity()` renamed to `sharing_of_rr_and_frr_capacity()`.
28+
- The `rr_actual_capacity()` removed since `rr_and_frr_actual_capacity()` covers its functionality.
29+
- The `business_type` argument has been removed from `shares_of_fcr_capacity()` since it did not changed the result table at all.
30+
- The `business_type` argument has been removed from `rr_and_frr_actual_capacity()` since it did not changed the result table at all.
31+
- The `gen_wind_solar_forecasts()` does not give back list of table by `process_type` from now on; instead `process_type` has been moved into the arguments of the function call.
32+
33+
## Miscellaneous
34+
35+
- The code base simplified.
36+
- The "architecture" vignette has been updated according to the changes.
37+
- The package `DESCRIPTION` document slightly adjusted.
38+
139
# entsoeapi v0.9.7 (2026-03-17)
240

341
## New functionality
@@ -9,10 +47,10 @@
947
- The code base simplified.
1048
- The package level constants have been placed into a standalone file.
1149
- These dependency (Imports) packages removed from the code: `curl`, `data.table`, `fs`, `tidyselect`, `utf8`
12-
- The sapply() calls have been removed from some unit tests.
50+
- The `sapply()` calls have been removed from some unit tests.
1351
- The global assignment operators have been removed from the code.
1452
- The .github/CONTRIBUTING.md file has been created and added.
15-
- The DESCRIPTION document has been updated.
53+
- The `DESCRIPTION` document has been updated.
1654
- A contributor guide has been added.
1755

1856
# entsoeapi v0.9.6 (2026-03-12),

R/constants.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
.api_name <- "api?"
44
.req_timeout <- 60
55
.max_age <- 3600
6+
.pd_scheme <- "https://"
7+
.pd_domain <- "eepublicdownloads.blob.core.windows.net"
8+
.pd_alloc_eic <- "cio-lio/xml/allocated-eic-codes.xml"
9+
.pd_csv_eic <- "/cio-lio/csv/"
610
possible_eic_chars <- stats::setNames(
711
object = 0L:36L,
812
nm = c(as.character(0:9), LETTERS, "-")
913
)
14+
user_agent_string <- "entsoeapi (https://krose.github.io/entsoeapi/)"

0 commit comments

Comments
 (0)