-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Hi.
It seems that the variable 'time' has unambiguous values assigned to every quarter. By this I mean every quarter has a value of "XXXX-01-01" instead of c("XXXX-01-01", "XXXX-04-01", "XXXX-07-01", "XXXX-10-01"). I wrote a code:
df <- get_eurostat("bop_iip6_q",
filters = list(stk_flow = c("A_LE", "L_LE", "N_LE"),
sector10 = "S1",
partner = "WRL_REST",
currency = "MIO_EUR",
sectpart = "S1",
bop_item = c("FA", "FA__D__F", "FA__P__F", "FA__O__F", "FA__F__F7", "FA__R__F", "FA_FNED", "FA_FGED"))
) %>%
filter (time >= as.Date("2004-01-01"),
!is.na(values),
geo %in% c("EA19", "BE", "BG", "CZ", "DK", "DE", "IE", "EL", "ES", "FR", "IT", "HU", "NL", "AT", "PL", "PT", "RO", "SK", "FI", "SE", "NO", "CH", "UK", "TR"),
freq == "Q") %>%
select (-freq, -sector10, -partner, -currency, -sectpart) %>%
mutate (values = values / 1000)
This results in four values to every observation. I think this needs to be fixed.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
To do