plot_addresses_country: Plot addresses, the number of which are summed by...

Description Usage Arguments Examples

View source: R/plot_addresses_country.R

Description

This function plots an addresses data.frame object by country name.

Usage

1
plot_addresses_country(data, mapRegion = "world")

Arguments

data

address element from the output from the authors_georef() function, containing geocoded address latitude and longitude locations.

mapRegion

what portion of the world map to show. possible values include "world", "North America", "South America", "Australia", "Africa", "Antarctica", and "Eurasia"

Examples

1
2
3
4
5
6
7
## Using the output of authors_georef (e.g., BITR_geocode)
data(BITR_geocode)
## Plots the whole world
plot_addresses_country(BITR_geocode)

## Just select North America
plot_addresses_country(BITR_geocode, mapRegion = 'North America')

ropensci/refsplitr documentation built on Feb. 14, 2022, 10:13 p.m.