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()
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 ansf
object. It takes one argument,core
, which indicates whether to include only the core 7-county metro or the 9-county MPO area.- Input checks using
{rlang}
- New vignette detailing helpers for accessing spatial data, including snippets.
- New contributor guidelines.
council_theme()
is officially deprecated. Function will return error with message- Improved testing
- Package now uses
{httr2}
to access DB credentials securely. If you want to develop and test the package, you must contact @eroten for theCOUNCILR_KEY
to decrypt. - Added testing for
colors
- Package now uses
{tigris}
,{cli}
,{httr2}
added{repmis}
removed
- More uniform documentation standards
- RMarkdown template
- New default text in RMarkdown template
- Remove
{repmis}
and use integrated{knitr}
function to fetch package dependencies.
import_from_gpkg()
function allows the user to import ansf
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.
- Added a
NEWS.md
file to track changes to the package. - Updated Contributor Code of Conduct.