Skip to content

anderspitman/dfaker

 
 

Repository files navigation

#Tidepool Dfaker

Dfaker is a command line tool that generates fake diabetes data. It is designed to fit Tidepool's data model description, creating data for any desired numbers of days. For a reference to the data model and the format specifications, click here. Running dfaker will generate a JSON-formatted file. An example data file, ran with the default settings can be found here. For further reference about dfaker, read the developer documantation here.

#Set Up

Dfaker runs with python3. In addition, using the Anaconda scientific Python distribution is recommended as the easiest way of getting all project dependencies. The anaconda installation for python3 can be found here.

Alternatively, installing the following packages will work as well:

  • pytz
  • numpy
  • statsmodels
  • nose
  • pandas
  • patsy
  • python-dateutil
  • scipy
  • six

#Credits

The implementation for the blood glucose model equation was based on a mathematics paper on blood glucose levels.

Citation: Estela, Carlos (2011) "Blood Glucose Levels," Undergraduate Journal of Mathematical Modeling: One + Two: Vol. 3: Iss. 2, Article 12. DOI: http://dx.doi.org/10.5038/2326-3652.3.2.12 Available at: http://scholarcommons.usf.edu/ujmm/vol3/iss2/12

About

A generator of fake diabetes data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%