Releases: Metropolitan-Council/councilR
v0.3.0
councilR v0.3.0
This release introduces new database connection helpers for Oracle databases, updates credential management from getOption()
to keyring::key_get()
, and implements various small fixes and maintenance items.
Thanks to @caitlinhamrock, @schroeder-matt, @mcnamx for their issue submittals and help in development.
Breaking changes
All credential default values reference keyring::key_get()
, replacing getOption()
. All users will need to create keyring entries for councilR.uid
and councilR.pwd
. FRED-Oracle users will also need to create entries for FREDOracle.uid
, FREDOracle.pwd
, FREDOracle.url
, and FREDOracle.dsn
.
Users can migrate their getOption
credentials directly to keyring with the code below. This only needs to be run once.
library(keyring)
# assign councilR.uid
keyring::key_set_with_value(
service = "councilR.uid",
password = getOption("councilR.uid")
)
# assign councilR.pwd
keyring::key_set_with_value(
service = "councilR.pwd",
password = getOption("councilR.pwd")
)
Other changes
import_from_gpkg()
now allows passthrough arguments tosf::read_sf()
. This is particularly useful for geopackages with multiple layers . Closes #84.import_from_gis()
takes a new parametergeometry
which allows the user to specify whether to fetch spatial data columns. Closes #78.- Parameter type checkers now use councilR functions rather than
{rlang}
internal-only functions. This increases flexibility and should reduce warnings. Closes #88. {keyring}
added to dependencies and other dependent packages updated.- FRED-SQL (via
fred_connection()
) and GISLibrary (viagis_connection()
) servers updated. - Additional bug fixes, closing #86.
Pull-requests merged
- Geopackage flexibility, Oracle connections, maintenance by @eroten in #85
- Server update by @eroten in #89
- Update GISLibrary server by @eroten in #90
Full Changelog: v0.2.5...v0.3.0
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1 - Patch rlang, ggplot2
v0.2.0
What's Changed
- data.table look function by @Brandon-Whited in #55
- New dependency - data.table
New Contributors
- @Brandon-Whited made their first contribution in #55
Full Changelog: v0.1.5...v0.2.0
v0.1.5
v0.1.4
v0.1.3
What's Changed
New features
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
Dependency changes
{tigris}
,{cli}
,{httr2}
added{repmis}
removed
General updates
- More uniform documentation standards
- RMarkdown template
- New default text in RMarkdown template
- Remove
{repmis}
and use integrated{knitr}
function to fetch package dependencies.
Full Changelog: v0.1.2.9001...v0.1.3