Geography and plotting function expansion
fetch_ctu_geo()
fetches CTU geographiestheme_council_geo()
provides a ggplot2 theme for mapsmap_council_continuous()
allows you to map a given geography using a specific variable/column.Significant improvements in testing.
theme_council()
font patchtheme_council()
now uses font family names on the machine to determine file names.
Previously, in order to use Council fonts like Helvetica Neue LT Std, the user must have installed the font family with a particular file name "HelveticaNeueLTStd-Cn.otf". Otherwise, if Helvetica Neue LT Std was installed using another file name, like "HelveticaNeueLTStd-Cn_0.otf", theme_council()
would throw an error.
This patch examines the available font families and determines the file name from there, instead of requiring a single precise file name.
fetch_county_geos()
uses {tigris}
to create an sf
object. It takes one argument, core
, which indicates whether to include only the core 7-county metro or the 9-county MPO area.{rlang}
council_theme()
is officially deprecated. Function will return error with message{httr2}
to access DB credentials securely. If you want to develop and test the package, you must contact @eroten for the COUNCILR_KEY
to decrypt.colors
{tigris}
, {cli}
, {httr2}
added{repmis}
removed{repmis}
and use integrated {knitr}
function to fetch package dependencies. import_from_gpkg()
function allows the user to import an sf
object from a geopackage URL. This is particularly useful for accessing Minnesota Geospatial Commons if you are unable to access the Council's ArcGIS catalog. import_from_gis()
function allows the user to import a shapefile from the Council's ArcGIS catalog. NEWS.md
file to track changes to the package. Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.