Skip to content

Releases: munichrocker/DatawRappr

RETRYing 'til the morning

13 Sep 14:20
Compare
Choose a tag to compare

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 base append for ... in dw_edit_chart(). (fixes #59)

  • Add transparent export option.

Enhancements

  • most requests are now using RETRY() to connect. (thanks @fin, resolves #58)

  • Allow to switch data upload type between csv and tsv. (599bfac, as proposed in #57)

  • switched cat() to message(). (resolves #56)

Multiple minor Enhancements

13 Oct 14:28
Compare
Choose a tag to compare

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.

Minor Enhancements

10 Jan 09:45
Compare
Choose a tag to compare

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

15 Dec 21:22
1ded70c
Compare
Choose a tag to compare

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

09 Dec 13:12
5d2d47e
Compare
Choose a tag to compare

This is the first release for DatawRappr - using Version 3.0 of Datawrapper's API