- Functions pointing to external resources (
sotkanet.json_query()
andsotkanet.csv_query()
) should now fail gracefully. New internal functions are in R/http_funs.R - New dependencies / imports: httr package for handling URLs and error messages and curl package for internet connection testing. jsonlite for handling data from json files
- Http functions now include information on user agent. The default is "rOpenGov/sotkanet" to help API providers track package usage but it can be changed in relevant functions:
GetDataSotkanet()
,SotkanetIndicators()
andSotkanetRegions()
.
- Removed internal functions:
GetDataSotkanetSingleIndicator
andSotkanetData
. - Removed dependency / import: rjson
- Deleted unused function:
base_url
- Functionalities from GetDataSotkanetSingleIndicator and SotkanetData are now embedded in one function,
GetDataSotkanet()
. - Some files in ./R/ folder have been renamed for better legibility: internal.R to SotkanetCollect.R and sotkanet.R to SotkanetRegions.R
- New alias for downloading indicator metadata:
SotkanetIndicatorMetadata()
(usesSotkanetIndicator(id)) - To help save bandwidth, when provided with a predefined list of indicators,
SotkanetIndicators()
now downloads metadata individually instead of fetching and subsetting the whole indicator dataset. - Vignette will no longer fetch external resources on CRAN.
- Package license clarified: BSD 2-clause instead of FreeBSD
- Adding rmarkdown to Suggests
- Minor fixes before CRAN submission (broken URLs etc.)
- NEWS.md template updated to pkgdown-specifications
- Getting rid of RCurl dependencies
- Updated roxygen documentation
- CRAN release version
- base url change into https
- reorganized R file structure
- tutorial updates
- Updated README
- Cosmetic changes to vignette
- Renamed tutorial
- Improved documentation
- Polished package structure
- Stabilized erroneous URL handling
- Package separated from sorvi