View source: R/authors_georef.R
authors_georef | R Documentation |
authors_georef
This function takes the final author list from
refine_authors, and calculates the lat long of the city, country, and postal
code (for USA addresses) or city and country (for addresses outside the USA).
authors_georef(data, address_column = "address", google_api = FALSE)
data |
dataframe from |
address_column |
name of column in quotes where the addresses are |
google_api |
if |
The output is a list of three data.frames
addresses
All info from 'refine_authors' plus new columns with
lat & long. It includes ALL addresses, including those that could not
be geocoded.
missing_addresses
A data frame of the addresses that could
NOT be geocoded.
no_missing_addresses
the addresses
data frame with ONLY the
addresses that were geocoded.
## Not run:
BITR_georef_df <- authors_georef(BITR_refined, address_column = "address",
google_api=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.