In order to access data from the development version of MERMAID, please re-install the mermaidr package from the dev branch on GitHub:

# install.packages("remotes")
remotes::install_github("data-mermaid/mermaidr", ref = "dev")

When using the development version, you can only access data from the development version of MERMAID Collect. There may also be differences in the MERMAID API (which can affect things like the columns returned) and functions in mermaidr that are in-progress and not yet available from the “production” version of the package.

If you are having trouble authenticating with the development version or get the following error:

Error: Mermaid API request failed: (401) Unauthorized

Please delete the .httr-oauth file, which contains the MERMAID token required to access data, then restart R and try to access data again.

To switch back to the production version of MERMAID and production data, re-install without specifying a branch:

# install.packages("remotes")
remotes::install_github("data-mermaid/mermaidr")