code-for-nashville / inclucivics

Data visualization of Nashville Metropolitan Government employee salary and demographics
http://www.codefornashville.org/inclucivics/
MIT License
12 stars 18 forks source link

AWS lambda function to automatically update data #136

Closed mshenfield closed 6 years ago

mshenfield commented 7 years ago

Write an AWS Lambda function that • Uses functions from fetch_data and import_data to fetch and process new data. • New data should be written to the S3 buckets specified in #131. • Output files (summary, departments, etc.) should be written to the appropriate S3 bucket. • The result of the function, if possible, should differentiates between “ran successfully but no new file”, and “ran successfully and new file”

The environment for the function should be specified in our terraform config: • Use Node.js 6.10.2 (the latest version) • Is scheduled to run daily