Module Import alias Import alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Print BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr ListLoad Str BinOpMod Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword ListLoad NameLoad decorator_list decorator_list
N/A N/A os N/A subprocess campfin.db * Seeder N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self path N/A N/A N/A os path join N/A N/A os getcwd data N/A N/A self db N/A DB N/A seed N/A N/A self N/A N/A N/A filepath N/A N/A self download_fec_file N/A N/A N/A self unzip_fec_file filepath N/A filepath N/A N/A self head_fec_file N/A N/A N/A self load_fec_data filepath N/A download_fec_file N/A N/A self N/A N/A N/A Downloading individual contributions file from the FEC N/A filepath N/A N/A N/A os path join N/A self path indiv14.zip N/A fh N/A open filepath wb N/A N/A open filepath wb fh N/A N/A N/A N/A subprocess call N/A curl -s ftp://ftp.fec.gov/FEC/2014/indiv14.zip stdout fh N/A filepath N/A unzip_fec_file N/A N/A self filepath N/A N/A N/A Unzipping FEC file N/A N/A N/A subprocess call N/A unzip filepath -d N/A self path N/A head_fec_file N/A N/A self lines N/A 20000 N/A N/A N/A Extracting first %s rows of FEC file lines N/A filepath N/A N/A N/A os path join N/A self path itcont2.txt N/A N/A open filepath w fh N/A N/A N/A N/A subprocess call N/A head N/A -%s lines N/A N/A N/A os path join N/A self path itcont.txt stdout fh N/A filepath N/A load_fec_data N/A N/A self filepath N/A N/A N/A Loading FEC data N/A N/A N/A N/A self db execute linker 
            LOAD DATA INFILE %s INTO TABLE individual_contributions_2014 FIELDS TERMINATED BY '|' (committee_id,amendment,report_type,pgi,image_num,transaction_type,entity_type,contributor_name,city,state,zipcode,employer,occupation,transaction_date,amount,other_id,transaction_id,filing_number,memo_code,memo_text,sub_id)
         args N/A filepath N/A N/A