This release includes a number of new features, more robust checks and internal logic, and many improvements to package documentation. Most significantly, this version introduces support for the Cross-Site Request Forgery (CSRF) token in OpenRefine API requests, which is required in certain API calls as of OpenRefine v3.3. This feature is now included in rrefine
but operates internally and should be invisible to users. For more information the OpenRefine CSRF protection see: https://github.com/OpenRefine/OpenRefine/wiki/Changes-for-3.3#csrf-protection-changes
refine_metadata()
function is now exported and user-facing.http://127.0.0.1:3333
)refine_upload()
function now checks file format based on extension, and allows both .csv and .tsv files to be uploaded.refine_upload(..., open.browser=TRUE)
will now redirect the user to the newly created project in the OpenRefine instance.tibble
with the data in R.refine_upload()
and refine_delete()
functions now confirm success of operations by comparing metadata before/after POST requests.refine_query()
internal helper function.refine_id()
helper function now validates “project.id” against list of project ids in the running instance.news.md
to track release notes!refine_delete()
and refine_upload()
now generate a CSFR token internally.Tested with OpenRefine 3.2, 3.3, and 3.4.1 running on Linux and Mac OSX.
NOTE The
rrefine
package was released to CRAN under version 1.0. However, theDESCRIPTION
file for that release noted the version as 0.1. All releases from v1.1.0 onwards will maintain consistency between the version in theDESCRIPTION
and the version number on the CRAN release.