Description Usage Arguments Details Value Examples
View source: R/krsp-censusmap.r
This function is to meant to be used to monitor progress towards completion of the census. It shows all middens from the previous census and whether or not they have been entered in this census.
1 | krsp_censusmap(con, grid, year, census, data)
|
con |
Connection to KRSP database |
grid |
character; a single grid to map |
year |
integer; year of census you're working on. Must be greater than 2012 when the new census table was implemented. |
census |
character; are you completing the may or august census? |
data |
logical; whether to just return the data instead of a plot. |
The user must identify which census they are completing. An August census will be compared to the May census from that year, while a May census will be compared to the previous year's August census.
An interactive plot comparing censuses, or a data frame if
data == TRUE
.
1 2 3 4 | con <- krsp_connect()
krsp_censusmap(con, "JO", 2016, "may", data = TRUE) %>%
head()
krsp_censusmap(con, "KL", 2016, "august")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.