This function returns a list, not a data frame. The list contains the DEMO_GEO, CITIES, and CITIES_REF portions of the database. Note that for CITIES to be complete, it has to be further passed through the makeCensusCountyDemo.R function, which also outputs a list.
1 | makeDemoGeo(df, updateID, key, con, overwrite = T)
|
df |
Raw survey data as a data frame. |
updateID |
Character string that will become the 'updateID' column for this table. For example, "survey11Add" for Survey 11. |
key |
The API key for the hereR API |
con |
A connection to the existing database, created with RSQLite. |
overwrite |
Whether or not to overwrite existing geocoded localities, if 'geocoded' already exists in the environment. This parameter was mainly included for function testing and developmentāit pretty much never makes sense to set it to F when using the function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.