Skip to contents

[Experimental]

get_felt_data() returns the parsed JSON included in the body of the HTML for a Felt map website (which includes both features and other user and layer metadata). This data can be used to supplement the Public API and may be deprecated as the API develops.

Usage

get_felt_data(map_id, token = NULL, call = caller_env())

Arguments

map_id

A Felt map URL, map ID string, or a named list with a id and type element. If map_id is a list, it must be equivalent to the output from get_felt_map() where the list includes a "id" string and a "type" string with the value "map".

token

Felt personal access token

call

The execution environment of a currently running function, e.g. caller_env(). The function will be mentioned in error messages as the source of the error. See the call argument of abort() for more information.

Value

A list of the parsed JSON found in the "felt-data" div of a Felt map webpage.