Downloads provided by UsageCounts
Overview The functions here were written to download data from FitBit servers using the FitBit API. I used fitbitr from Nagi Teramo, and I have a "registered" FitBit App, which is necessary to get the key and secret for using Oauth2.0 Usage FitBit_AuthCode This is the part that is based on fitbitr. Right now, you will need to enter your own FitBit OAuth Key and Secret into the FitBit_AuthCode.R file. I hope to somehow make it more elegant so maybe it prompts you for your codes, but that seems like it might be more annoying, since every time you use this you would need to enter that information. Additionally, this requires you be logged into the proper FitBit user account with your browser when you run the code. I couldn't figure out how to manage that kind of a login from R. getFitBitData This uses the OAuth info generated from FitBit_AuthCode.R to grab a number of types of physical activity data from FitBit over a designated period of time. It then shoves all of that data into a .csv to export it. Currently this function asks for an ID and a device name, which is because the code is written for a research project which has multiple subjects and multiple devices. It is only used for constructing the .csv file name at the end of the function. Feel free to delete these for your use.
FitBit, R
FitBit, R
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
| views | 8 | |
| downloads | 2 |

Views provided by UsageCounts
Downloads provided by UsageCounts