felt_get_map: Get Map Information from Map ID

View source: R/map.R

felt_get_mapR Documentation

Get Map Information from Map ID

Description

  • felt_get_map() returns identifying information for the map

  • felt_get_map_layers() returns information about each layer in the map

  • felt_get_map_elements() returns the shapes for each layer in the map

Usage

felt_get_map(map_id)

felt_get_map_layers(map_id)

Arguments

map_id

map identifier from url, from ⁠https://felt.com/map/Readable-Name-map_id⁠

Value

a tibble::tibble for the map

Examples


felt_get_map('Rockland-2024-Districts-TBI8sDkmQjuK2GX9CSiHiUA')
felt_get_map_layers('Rockland-2024-Districts-TBI8sDkmQjuK2GX9CSiHiUA')

# slower, as it has to build the shapes from the API result
felt_get_map_elements('Rockland-2024-Districts-TBI8sDkmQjuK2GX9CSiHiUA')



feltr documentation built on Nov. 6, 2023, 1:06 a.m.