Skip to contents

This function will get all files needed for the exemples and return all path in a list. License info for the data used is in the details section

Usage

TNETutils_openExempleData(license = FALSE)

Arguments

license

if TRUE, License information of the data is shown. If false, all exemple file path are exported.

Value

list with all path to all Exemple data and view license informations

Details

J2000 Saône exemple data provided in this package are licensed under CC BY-NC-ND 4.0 and are provided 'AS IS', with no warranties.

SAFRAN exemple data provided in this package are provided by "Météo-France" and are royalty-free under Licence Ouverte d'Etalab

Examples

exempleData <- TNETutils_openExempleData()
print(exempleData)
#> $Shapefile_segments
#> [1] "/tmp/RtmpLWOnLC/temp_libpath9a4934cee927/TnetRUI/extdata/TestNetwork_Ardiere.shp"
#> 
#> $Shapefile_nodes
#> [1] "/tmp/RtmpLWOnLC/temp_libpath9a4934cee927/TnetRUI/extdata/TestNetwork_ND_Ardiere.shp"
#> 
#> $DEM
#> [1] "/tmp/RtmpLWOnLC/temp_libpath9a4934cee927/TnetRUI/extdata/DEM_Ardiere.tif"
#> 
#> $SAFRAN_grid
#> [1] "/tmp/RtmpLWOnLC/temp_libpath9a4934cee927/TnetRUI/extdata/SAFRAN_grid_Ardiere.shp"
#> 
#> $J2K_path
#> [1] "/tmp/RtmpLWOnLC/temp_libpath9a4934cee927/TnetRUI/extdata/J2K_Ardiere"
#> 

TNETutils_openExempleData(license = TRUE)
#> J2000 License file: 
#> License
#> 
#> Copyright (c) 2024 INRAE Riverly
#> 
#> The data provided in this package, including the J2000 Saône example data, are licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC BY-NC-ND 4.0). You may view the full license at:
#> 
#> https://creativecommons.org/licenses/by-nc-nd/4.0/?ref=chooser-v1
#> 
#> Disclaimer
#> 
#> The data are provided "AS IS," without any warranties, express or implied. The authors or providers of this data shall not be held liable for any claims, damages, or other liabilities arising from the use of this data.
#> 
#> SAFRAN License file: 
#> SAFRAN data are provided by "Météo-France" and are royalty-free under "Licence Ouverte d'Etalab" detaled here:
#> 
#> https://www.etalab.gouv.fr/wp-content/uploads/2014/05/Licence_Ouverte.pdf