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.