qc_download_maps: Download maps for countries included in the database

View source: R/qc_coordinates_functions.R

qc_download_mapsR Documentation

Download maps for countries included in the database

Description

qc_download_maps fetch maps from http://www.gadm.org/.

Usage

qc_download_maps(data, folder = getwd(), parent_logger = "test")

Arguments

data

Data frame where the countries ISO codes are. Must contain a variable called site_country where the ISO code resides.

folder

Folder route where the maps are stored or where they will be stored, by default the working directory. It must be a character object and it must end without /.

Details

This function fetch maps from http://www.gadm.org/ if the map is not already present in the maps folder (by default, the working directory).

Value

Maps are downloaded (if needed) and a summary is returned indicating number of maps downloaded and number of maps present in the map folder.

See Also

Other Quality Check Functions: qc_check_coordinates(), qc_coord_sign_test(), qc_fix_latlong_errors()


vflo/PSIsapfluxnetQC1 documentation built on Feb. 15, 2024, 3:19 a.m.