mirror of
https://github.com/elisspace/FxLifeSheet.git
synced 2026-08-29 15:44:00 +00:00
Importers (Ruby based - New)
source ../.keys
Use latest data from Heroku
heroku pg:backups:download
pg_restore -c -d fxlifesheet latest.dump
Run the scripts below in the right order:
Step 1: Tag the days
be ruby importers/tag_days/tag_days.rb
Step 2: Import historic location based on Swarm & Telegram
be ruby importers/swarm/swarm_coordinates_importer.rb
Step 3: Fetch historic weather data
be ruby importers/weather/backfill_weather.rb
Unordered scripts you can run at any time after tagging the days
Apple Health: Steps
- Export Apple Health data using the QS Acecss app
- Choose
1 Day&Steps Create Table- Airdrop to Mac
- Store resulting file in
./importers/apple_healthfolder namedHealth Data.csv
be ruby importers/apple_health/apple_health.rb
RescueTime
- Copy the latest archive from https://www.rescuetime.com/accounts/your-data to
./importers/rescuetime, unzipped (therescuetime-activity-history.csvfile)
be ruby importers/rescuetime/rescuetime.rb