Skip to content

Commit c5d3901

Browse files
committed
Add TIME_PERIOD_lab to globals
1 parent d41323c commit c5d3901

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

R/globals.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ utils::globalVariables(c(
1515
"iotables_label", # <employment_get>
1616
"values", # <employment_get>
1717
".data", # <iotable_get>
18-
"TIME_PERIOD_lab", # <iotables_download>
1918
"values_lab", # <iotables_download>
19+
"TIME_PERIOD_lab", # <iotables_download>
2020
"time_lab", # <iotables_download>
2121
"TIME_PERIOD", # <iotables_download>
2222
"uk_col", # <order_iotable>

R/iotables_download.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ iotables_download <- function ( source = "naio_10_cp1700",
149149
if ( "stk_flow" %in% names ( downloaded ) ) {
150150
downloaded_nested <- nest (
151151
downloaded,
152-
data = -any_of(c( "geo", "geo_lab", "time", "time_lab",
153-
"year", "unit", "unit_lab", "stk_flow", "stk_flow_lab"))
154-
)
152+
data = -any_of(c("geo", "geo_lab", "time", "time_lab",
153+
"year", "unit", "unit_lab", "stk_flow", "stk_flow_lab"))
154+
)
155155
} else {
156156
downloaded_nested <- nest (
157157
downloaded,
158-
data = -any_of(c( "geo", "geo_lab", "time", "time_lab",
159-
"year", "unit", "unit_lab"))
160-
)
158+
data = -any_of(c("geo", "geo_lab", "time", "time_lab",
159+
"year", "unit", "unit_lab"))
160+
)
161161
}
162162

163163
if( !is.null(data_directory) ) {

0 commit comments

Comments
 (0)