csv download settings (which fields or forms to download), file naming conventions, and where to put the file. If you were to document this carefully, you’d have to give several steps, like where to log in to REDCap, which project to use, the.
#EXPORT MASCHINE SAMPLE CHOPS HOW TO#
Read on to learn how to do this! Scripted ReproducibilityĪnother problem with using downloaded files from REDCap is that this method requires unscripted, point-and-click manual work. What’s a better approach? Reach into the REDCap database directly each time you run your script, so that you know you’re using the most up-to-date data. This can easily become overwhelming and cause confusion. csvs in various directories, each of which has a particular version of the data in REDCap.
![export maschine sample chops export maschine sample chops](https://i.ytimg.com/vi/ifgHmPq-4pI/maxresdefault.jpg)
But REDCap likes to download files with a date stamp as part of the file name, so you have to remember to either change the name of the file to whatever standard file name you want your script to use, or change the file name each time in your script. csv and save it to a file that your R or Python script will then open and work with. One way to do that is to manually export data to a. For example, let’s say you have to run some analysis on data you’re collecting in REDCap, and you want to re-run this analysis every couple of weeks to see the latest figures. json file to analyze can be tricky if you have multiple versions, and it’s easy to do analysis on an obsolete file if you’re not careful. With API calls, you get your data fresh every time, instead of relying on potentially stale downloads. There are two principal benefits to using APIs: Let’s apply those benefits to data stored in REDCap! API Overview We’ve talked before on this site about the usefulness of APIs (Application Programming Interfaces) in data analysis.