Refresh an existing layer
Arguments
- map_id
character, map identifier from url, from
https://felt.com/map/Readable-Name-map_id
- layer_id
character, layer identifier from url, from
felt_get_map()
- file_names
file names to upload if the original layer was created with a file upload
- clean
logical, whether to turn the API response into a tibble::tibble
Value
a tibble::tibble with upload information
Examples
if (FALSE) { # has_felt_key()
felt_refresh_layer(map_id = 'Rockland-2024-Districts-TBI8sDkmQjuK2GX9CSiHiUA',
layer_id = 'rCfurZSFShycXHCBw69CdKB',
file_names = fs::path_package('feltr', 'towns.geojson'))
felt_refresh_layer(map_id = 'Rockland-2024-Districts-TBI8sDkmQjuK2GX9CSiHiUA',
layer_id = 'eufG5hWKRRSURHE8YcGGXA')
}