Skip to content

Commit

Permalink
Check equality on chars and no numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Sep 21, 2020
1 parent 5c7e205 commit f93714b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/get_eurostat_geospatial.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Please check your connection and/or review your proxy settings")
# information regarding their licence agreements.
# ")

if (resolution == "60" && year == 2016 && crs == "4326"){
if (resolution == "60" && year == "2016" && crs == "4326"){

if (nuts_level %in% c("all")){
shp <- eurostat_geodata_60_2016
Expand Down Expand Up @@ -229,7 +229,7 @@ Please check your connection and/or review your proxy settings")
}
}

if (resolution != "60" & year != 2016){
if (resolution != "60" & year != "2016"){
if (cache & file.exists(cache_file)) {
cf <- path.expand(cache_file)
message(paste("Reading cache file", cf))
Expand Down

0 comments on commit f93714b

Please sign in to comment.