Skip to content

mayblue9/dataviva-scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataviva-scripts

Helper scripts for DataViva data calculations and transformations

  • git clone https://github.com/DataViva/dataviva-scripts.git dataviva-scripts
  • cd dataviva-scripts
  • git submodule update --init --recursive <- necessary for all product space calcs e.g. rca, distance, opp_gain
  • pip install -r requirements.txt

Caveats

  • Need the following environment vars to be set:
  • DATAVIVA_DB_NAME
  • DATAVIVA2_DB_NAME
  • DATAVIVA_DB_USER
  • DATAVIVA2_DB_USER
  • DATAVIVA_DB_PW
  • DATAVIVA2_DB_PW
  • Need unrar tool installed
  • brew install unrar

Environment Configuration

Please see the the documtation for getting your environment set up in the wiki.

Instructions for Running Scripts

Please see the documation for how the run the scripts for adding new years of data in the wiki.

About

Helper scripts for DataViva data calculations and transformations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Shell 2.5%