load_mapfile | R Documentation |
Loads a mapfile in different ways.
load_mapfile(path = NULL, type = NULL, s3bucket = "cm2data")
type |
see above. Currently only used to specify a local RDS file by setting type to 'local'. |
s3bucket |
see path. When type is not local, path is the name of an s3 file and s3bucket is the name of the bucket. |
path. |
If path is NULL, an empty map is returned. If path ends with xlsx, this is the path to an xlsx file. If type is 'local', path must be a valid path to an RDS file. Otherwise, path must be the name of an s3 file in the specified s3 bucket. |
A valid causal map.
load_mapfile() # returns an empty map.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.