Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25a83f4

Browse files
author
mahdis-z
committed
fixup path for mapbox_token
1 parent 4600bc2 commit 25a83f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r/2020-01-30-choropleth-rmapbox.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ library(rjson)
109109
library(plotly)
110110
library(data.table)
111111
112-
mapboxToken <- paste(readLines(".mapbox_token"), collapse="") # You need your own token
112+
mapboxToken <- paste(readLines("../.mapbox_token"), collapse="") # You need your own token
113113
Sys.setenv("MAPBOX_TOKEN" = mapboxToken) # for Orca
114114
115115
url <- 'https://raw.githubusercontent.com/plotly/datasets/master/geojson-counties-fips.json'

0 commit comments

Comments
 (0)