get_state | R Documentation |
Get state abbreviations
get_state(df)
df |
is the dataframe that includes the coordinate columns. Make sure to rename columns to 'lat', 'lon' |
df df$state <- get_state(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.