Skip to content

ian-whitestone/khp-data

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
aws
 
 
 
 
khp
 
 
 
 
 
 
 
 
 
 
 
 

KHP Data

build coverage license

    __   _     ___          __         __               __
   / /__(_)___/ ( )_____   / /_  ___  / /___     ____  / /_  ____  ____  ___
  / //_/ / __  /|// ___/  / __ \/ _ \/ / __ \   / __ \/ __ \/ __ \/ __ \/ _ \
 / ,< / / /_/ /  (__  )  / / / /  __/ / /_/ /  / /_/ / / / / /_/ / / / /  __/
/_/|_/_/\__,_/  /____/  /_/ /_/\___/_/ .___/  / .___/_/ /_/\____/_/ /_/\___/
                                    /_/      /_/

Data infrastructure for the Kids Help Phone.

Setup

conda env create -f environment.yml
conda activate khp

FTP Servers

from khp import ftp
from khp import config

## CSI Files
## Run every 10 minutes
download('CSI_files', config.FTP_OUTPUT_DIR)
load_to_s3("V1")

## FTCI Files
## Run twice per day
download('FTCI_files/Archive', config.FTP_OUTPUT_DIR)
load_to_s3("V2")
load_ftci_to_postgres()

Icescape

from khp import contacts

contacts.main()

About

Data infrastructure for the Kids Help Phone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published