Commit 6fad1a31 authored by David Nortes Martínez's avatar David Nortes Martínez
Browse files

updated to get always last version of data

Showing with 6 additions and 2 deletions
+6 -2
...@@ -2,8 +2,12 @@ ...@@ -2,8 +2,12 @@
library(sf) library(sf)
library(geau) library(geau)
# loading dataset # loading dataset (last version)
bassin = sf::st_read("/home/dnm/Seafile/data-common/data/topage/bassin_versant/2019/06_RhУne-MВditerranВe_BassinVersantTopographique.shp") file_dir = current_version(
"data-common/data/topage/bassin_versant",
pattern = "^[0-9-]+$"
)
bassin = sf::st_read(file.path(file_dir, "06_RhУne-MВditerranВe_BassinVersantTopographique.shp"))
# checking and adjusting crs (if needed) # checking and adjusting crs (if needed)
if (!sf::st_crs(bassin) == sf::st_crs(geau::so_ii_limit)) { if (!sf::st_crs(bassin) == sf::st_crs(geau::so_ii_limit)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment