rOpenGov / eurostat

R tools for Eurostat data
http://ropengov.github.io/eurostat
Other
234 stars 46 forks source link

Fix date handling (issue #251) #256

Closed pitkant closed 1 year ago

pitkant commented 1 year ago

Fixes the following error described in issue #251 by @lz1nwm:

Warning message:
In eurotime2date(x, last = TRUE) :
Unknown time code, -. No date conversion was made.

get_eurostat (and get_eurostat_json) now use eurotime2date2 function instead of the old eurotime2date function.

codecov[bot] commented 1 year ago

Codecov Report

Merging #256 (aaf1179) into master (3e7ad99) will not change coverage. The diff coverage is 0.00%.

:exclamation: Current head aaf1179 differs from pull request most recent head 30d22e6. Consider uploading reports for the commit 30d22e6 to get more accurate results

@@           Coverage Diff           @@
##           master     #256   +/-   ##
=======================================
  Coverage   67.18%   67.18%           
=======================================
  Files          24       24           
  Lines        1024     1024           
=======================================
  Hits          688      688           
  Misses        336      336           
Impacted Files Coverage Δ
R/get_eurostat.R 52.45% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.