sotkanet_cite()
for citing datasets (issue #16, PR #17 by @Allaht2) and sotkanet_interactive()
for interactively downloading datasets (issue #20, PR #21 by @Allaht2).httr
package to httr2
package (issue #19, PR #24 by @Allaht2). Other new imports are lubridate
, RefManageR
, digest
, frictionless
and magrittr
.GetDataSotkanet
, SotkanetRegions
, SotkanetIndicators
and SotkanetIndicatorMetadata
. The new version are called get_sotkanet
, sotkanet_regions
, sotkanet_indicators
and sotkanet_indicator_metadata
. The old versions of different functions are kept without deprecation messages or warnings, but users are gently encouraged to use the new functions (issue #18, PR #25 by @Allaht2)get_sotkanet
, sotkanet_regions
, sotkanet_indicators
and sotkanet_indicator_metadata
have support for caching (issue #14, PR #21 by @Allaht2). They also now support English and Swedish in addition to Finnish (issue #9, PR #21 by @Allaht2).
*get_sotkanet
can return a frictionless datapackage with metadata added in (issue #15, PR #21 by @Allaht2). httr
and jsonlite
try_GET
PascalCase
naming convention to using snake_case
for new functions (issue #18). get_sotkanet()
has default years
value of NULL
that gives the data from all the available years for the dataset (issue #12, PR #24 by @Allaht2).genders
is now c("male", "female", "total")
(issue #22, PR #24 by @Allaht2).region.category
supported by the API, YTA
("yhteistyöalue") now mentioned in relevant function documentation (PR #26 by @Allaht2)sotkanet.json_query()
and sotkanet.csv_query()
) should now fail gracefully. New internal functions are in R/http_funs.RGetDataSotkanet()
, SotkanetIndicators()
and SotkanetRegions()
.GetDataSotkanetSingleIndicator
and SotkanetData
.base_url
GetDataSotkanet()
.SotkanetIndicatorMetadata()
(usesSotkanetIndicator(id))SotkanetIndicators()
now downloads metadata individually instead of fetching and subsetting the whole indicator dataset.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.