Type: | Package |
Title: | Create Tile Grid Maps |
Version: | 0.1.0 |
Date: | 2016-02-17 |
Description: | Create tile grid maps, which are like choropleth maps except each region is represented with equal visual space. |
Depends: | R (≥ 3.1.0), graphics |
Suggests: | testthat |
License: | MIT + file LICENSE |
LazyData: | TRUE |
Encoding: | UTF-8 |
URL: | http://github.com/seankross/minimap |
RoxygenNote: | 5.0.1 |
NeedsCompilation: | no |
Packaged: | 2016-02-18 04:41:10 UTC; sean |
Author: | Sean Kross [aut, cre] |
Maintainer: | Sean Kross <sean@seankross.com> |
Repository: | CRAN |
Date/Publication: | 2016-02-18 06:51:34 |
Postal Abbreviations for Canada
Description
Postal Abbreviations for Canada
Usage
canada_abb
Format
An object of class character
of length 13.
Examples
## Not run:
canada_abb
## End(Not run)
Production and farm value of maple products in Canada
Description
Production and farm value of maple products in Canada
Usage
maple
Format
A data frame with columns:
- Year
A value between 1924 and 2015.
- Syrup
Maple products expressed as syrup, total in thousands of gallons.
- CAD
Gross value of maple products in thousands of Canadian dollars.
- Region
Postal code abbreviation for territory or province.
Source
Statistics Canada. Table 001-0008 - Production and farm value of maple products, annual. http://www5.statcan.gc.ca/cansim/
Examples
## Not run:
maple
## End(Not run)
Postal Abbreviations for Mexico
Description
Postal Abbreviations for Mexico
Usage
mexico_abb
Format
An object of class character
of length 32.
Examples
## Not run:
mexico_abb
## End(Not run)
Monthly milk production in Canada
Description
Monthly milk production in Canada
Usage
milk
Format
A data frame with columns:
- Year
A value between 1976 and 2015.
- Month
A value between 1 and 12.
- Region
Postal code abbreviation for territory or province.
- Kiloliters
Milk sold off farms in kiloliters.
Source
Statistics Canada. Table 003-0011 - Milk production and utilization, monthly. http://www5.statcan.gc.ca/cansim/
Examples
## Not run:
milk
## End(Not run)
Make a tile grid map of Canada
Description
Make a tile grid map of Canada
Usage
minicanada(pt, pt_colors, border_colors = rep("white", 13), pt_names = TRUE,
pt_name_colors = rep("white", 13), pt_name_cex = 1, font = NULL)
Arguments
pt |
A vector of Canadian province and territory postal abbreviations.
This vector must be some permutation of |
pt_colors |
A vector of "colors" in the R sense. For example strings
( |
border_colors |
Like |
pt_names |
Should the postal codes for each province or territory be
displayed in the center of the province or territory? The default value is
|
pt_name_colors |
Like |
pt_name_cex |
The size of the text displayed inside of each province or territory. |
font |
The font of the text displayed inside of each province or
territory. The values |
Examples
## Not run:
minicanada(canada_abb, 1:13)
## End(Not run)
Make a tile grid map of Mexico
Description
Make a tile grid map of Mexico
Usage
minimexico(estados, estados_colors, border_colors = rep("white", 32),
estados_names = TRUE, estados_name_colors = rep("white", 32),
estados_name_cex = 1, font = NULL)
Arguments
estados |
A vector of Mexican state postal abbreviations. This vector must be
some permutation of |
estados_colors |
A vector of "colors" in the R sense. For example strings
( |
border_colors |
Like |
estados_names |
Should the postal codes for each state be displayed in the
center of the state? The default value is |
estados_name_colors |
Like |
estados_name_cex |
The size of the text displayed inside of each state. |
font |
The font of the text displayed inside of each state. The values
|
Examples
## Not run:
minimexico(mexico_abb, 1:32)
## End(Not run)
Make a tile grid map of The United States of America
Description
Make a tile grid map of The United States of America
Usage
miniusa(states, state_colors, border_colors = rep("white", 51),
state_names = TRUE, state_name_colors = rep("white", 51),
state_name_cex = 1, font = NULL)
Arguments
states |
A vector of US state postal abbreviations. This vector must be
some permutation of |
state_colors |
A vector of "colors" in the R sense. For example strings
( |
border_colors |
Like |
state_names |
Should the postal codes for each state be displayed in the
center of the state? The default value is |
state_name_colors |
Like |
state_name_cex |
The size of the text displayed inside of each state. |
font |
The font of the text displayed inside of each state. The values
|
Examples
## Not run:
miniusa(state_abb, 1:51)
## End(Not run)
Same sex marriage in the US
Description
Changes in the legality of same sex marriage in the United States over time.
Usage
ssm
Format
A data frame with columns:
- State
State Abbreviation
- Status
Legal status. Either
bbs
meaning banned by statute,nl
meaning not legal,legal
,bbca
meaning banned by constitutional ammendment, ordis
meaning disputed.- Year
Year status went into effect.
Source
http://www.nytimes.com/interactive/2015/03/04/us/gay-marriage-state-by-state.html
Examples
## Not run:
ssm
## End(Not run)
Postal Abbreviations for The United States of America
Description
Postal Abbreviations for The United States of America
Usage
usa_abb
Format
An object of class character
of length 51.
Examples
## Not run:
usa_abb
## End(Not run)