Releases: munichrocker/DatawRappr
RETRYing 'til the morning
DatawRappr 1.2
Brings some bug fixes and some internal changes. Most noteworthy: The library now uses httr::RETRY
to call the API. We will include an option to override the retry defaults by setting environment variables in the near future.
Bug Fixes
-
Replace
list.append
to baseappend
for...
indw_edit_chart()
. (fixes #59) -
Add transparent export option.
Enhancements
Multiple minor Enhancements
DatawRappr 1.1.4
Bug Fixes
-
Replace
parsed
insprintf
-option to R with ahttr
-call indw_handle_errors()
. -
Fix URLs to chart types and chart properties in
dw_create_chart()
anddw_edit_chart()
. (fixes #38) -
Fixes
handle_reset()
-issue - hopefully permanently by including it intodw_publish_chart()
. Thanks to @fin! (fixes #31) -
Adds a new way to
dw_data_to_chart()
to allow data which contain commas, quotes or newlines to be parsed correctly before sending it to Datawrapper. (fixes #34) -
Clearifies error messages in case something goes wrong when communicating with the API. (fixes #32)
-
Adds a
handle_reset()
todw_edit_chart()
to allow multiple edit-calls to the API during a session. Until now a 401-error was raised. (fixes #31)
Enhancements
-
Introducing a
dw_legend_to_string()
-function to create a mobile-friendly legend. But will already be deprecated soon, as Datawrappers now offers a similar option by default. -
dw_publish_chart()
can now return a object which contains information about the chart (id, embed-code, url). -
Add a
theme
-argument todw_create_chart()
. -
Adds a
axes
-argument todw_edit_chart()
which enables users to change the axes from within {DatawRappr}. -
Includes a basemap-dump
dw_basemaps
as a data.frame (#36) -
Adds the three dots ... to
dw_edit_chart()
to allow any modification to the call-body.
Minor Enhancements
This release marks the minor jump to v1.1
Bug Fixes
dw_edit_chart()
is working as expected again, after an API-error was resolved by Datawrapper. (#29)
Enhancements
-
dw_export_chart()
returns the published chart as png, pdf or svg (the later two only in paid plans) in R. Thanks to Bob Rudis (@hrbrmstr) for including this function. -
dw_list_charts()
now returns a data frame (classed as a tibble). -
dw_edit_chart()
now also includes a byline argument to include the name of the chart's creator. (#30) -
The DESCRIPTION now uses the person() format.
-
There is now a package-level documentation file that also includes the hex logo.
-
There is now a package user-agent string added to the API-call.
-
Adds a "Chart Types" section to create and edit functions to avoid the need to go to the online reference.
Minor bug fix
This release includes a small but important bug fix to the dw_data_to_chart()
-function that seems to be heavily used (and was the trigger for creating this package).
The package does now convert Dates and POSIX*-columns to character vectors automatically if parse_dates
is not set to FALSE specifically (defaults to TRUE).
Check the documentation for more: https://munichrocker.github.io/DatawRappr/reference/dw_data_to_chart.html
Introducing DatawRappr - Version 1.0
This is the first release for DatawRappr - using Version 3.0 of Datawrapper's API