DatawRappr
DatawRappr copied to clipboard
dw_data_to_chart() upload format
Suggest changing the conversion formula from readr::format_csv() to readr::format_tsv() to be more forgiving towards commas in string constants. Helps a lot with tables.
Had trouble uploading HTML Unicode characters (e.g. "⬤") but this might be a bug in the Datawrapper API
Thanks for opening this issue. I guess there are actually two problems, right?
For the first one: could you please provide a reproducible example of a dataframe that causes trouble when uploaded?
For the second one: I guess this depends on the input field you're adressing. You may want to forward the issue to Datawrapper's support team. In case it's an DatawRappr-issue feel free to open another topic.
There is a new function argument included in https://github.com/munichrocker/DatawRappr/commit/982b49449e4139647f2cc215a9d271e5a28502e7
Could you please try if that fixes your issue?
dw_data_to_chart(x, chart_id, format = c("tsv")