Skip to content

Commit

Permalink
R400 update
Browse files Browse the repository at this point in the history
  • Loading branch information
antagomir committed May 12, 2020
1 parent a6c3c04 commit 6e10b30
Show file tree
Hide file tree
Showing 58 changed files with 258 additions and 1,628 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: eurostat
Type: Package
Title: Tools for Eurostat Open Data
Date: 2020-04-21
Version: 3.6.3
Date: 2020-05-12
Version: 3.6.4
Encoding: UTF-8
Authors@R: c(
person("Leo", "Lahti", email = "leo.lahti@iki.fi", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5537-637X")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# eurostat 3.6.4

* Fixed stringsAsFactors for R-4.0.0 and moved default to FALSE

# eurostat 3.6.3

* Stabilized http requests (PR by @annnvv)
Expand Down
2 changes: 1 addition & 1 deletion R/add_nuts_level.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ add_nuts_level <- function (dat, geo_labels = "geo") {
input <- 'label'
geo <- dat
dat <- data.frame( geo = as.character(geo),
stringsAsFactors = FALSE )
stringsAsFactors = FALSE)
} else {
input <- "not_label"
}
Expand Down
2 changes: 1 addition & 1 deletion R/get_eurostat.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ get_eurostat <- function(id, time_format = "date", filters = "none",
select_time = NULL,
cache = TRUE, update_cache = FALSE, cache_dir = NULL,
compress_file = TRUE,
stringsAsFactors = default.stringsAsFactors(),
stringsAsFactors = FALSE,
keepFlags = FALSE, ...){

# Check if you have access to ec.europe.eu.
Expand Down
2 changes: 1 addition & 1 deletion R/get_eurostat_json.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
get_eurostat_json <- function(id, filters = NULL,
type = c("code", "label", "both"),
lang = c("en", "fr", "de"),
stringsAsFactors = default.stringsAsFactors(),
stringsAsFactors = FALSE,
...){

# Check if you have access to ec.europe.eu.
Expand Down
2 changes: 1 addition & 1 deletion R/tidy_eurostat.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' @author Przemyslaw Biecek, Leo Lahti and Janne Huovari \email{ropengov-forum@@googlegroups.com} \url{http://github.com/ropengov/eurostat}
#' @keywords internal utilities database
tidy_eurostat <- function(dat, time_format = "date", select_time = NULL,
stringsAsFactors = default.stringsAsFactors(),
stringsAsFactors = FALSE,
keepFlags = FALSE) {

# To avoid warnings
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Lahti](https://github.com/antagomir), Przemyslaw Biecek, Markus Kainu
and Janne Huovari. Retrieval and analysis of Eurostat open data with the
eurostat package. [R Journal 9(1):385-392,
2017](https://journal.r-project.org/archive/2017/RJ-2017-019/index.html).
R package version 3.6.3. URL: <http://ropengov.github.io/eurostat>
R package version 3.6.4. URL: <http://ropengov.github.io/eurostat>

We are grateful to all
[contributors](https://github.com/rOpenGov/eurostat/graphs/contributors),
Expand Down
4 changes: 2 additions & 2 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/vignette.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/website/blogposts.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/website/cheatsheet.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e10b30

Please sign in to comment.