Execute SPARQL chunks in R Markdown

There are basically two ways to access SPARQL data with R. You can use the generic curl and httr packages, or you can use the SPARQL package. I recommend the curl+httr solution. The SPARQL package is a nice wrapper, but it dates back to 2013 and it doesn’t offer important parameters for HTTP(S) communication, such […]

Unknown column? Force encoding of an entire table from “unknown” to “UTF-8” in R on Windows

A common knitr issue on Windows Running R scripts on a Windows machine is equivalent to a dive into enconding hell. In effect, your non-English data most likely contains characters like Ä, ü, è or š, or even 语言. In all cases, the only serious way of dealing with these, in fact with any data […]