Skip to content

Multiple minor Enhancements

Compare
Choose a tag to compare
@munichrocker munichrocker released this 13 Oct 14:28
· 42 commits to master since this release

DatawRappr 1.1.4

Bug Fixes

  • Replace parsed in sprintf-option to R with a httr-call in dw_handle_errors().

  • Fix URLs to chart types and chart properties in dw_create_chart() and dw_edit_chart(). (fixes #38)

  • Fixes handle_reset()-issue - hopefully permanently by including it into dw_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() to dw_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 to dw_create_chart().

  • Adds a axes-argument to dw_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.