<commit_before># declare -a FORMS=("vcm_register" "VCM_Sett_Coordinates_1" "New_VCM_Summary")
declare -a FORMS=("VCM_Sett_Coordinates_1.2")
POLIO_USERNAME=evan
POLIO_KEY=67bd6ab9a494e744a213de2641def88163652dad
UUID=$(uuidgen)
API_ROOT="http://localhost:8000/api/v1/etl/"


 wget -O/dev/null "${API_ROOT}?task=start_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"

for FORM in "${FORMS[@]}";
 do
   echo $FORM
    java -jar odk_briefcase.jar \
     --form_id $FORM \
     --export_filename $FORM \
     --aggregate_url https://vcm-ng.appspot.com/ \
     --storage_directory ~/ODK/odk_source \
     --export_directory ~/ODK/odk_source/csv_exports \
     --odk_username admin \
     --odk_password <PASSWORD> \
     --exclude_media_export;
done

sleep 2
# DONE WITH ODK JAR FILE #
wget -O/dev/null "${API_ROOT}?task=finish_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"

# DONE WITH ODK JAR FILE #
wget -O/dev/null "${API_ROOT}?task=ingest_odk_regions&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"<commit_msg>import ODK settings into refresh_odk.sh<commit_after>#!/bin/sh

dir="$(dirname "$0")"
source "$dir/odk_settings.sh"

# # declare -a FORMS=("vcm_register" "VCM_Sett_Coordinates_1" "New_VCM_Summary")
declare -a FORMS=("VCM_Sett_Coordinates_1.2")
UUID=$(uuidgen)

wget -O/dev/null "${API_ROOT}?task=start_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"

for FORM in "${FORMS[@]}";
 do
   echo $FORM
    java -jar odk_briefcase.jar \
     --form_id $FORM \
     --export_filename $FORM \
     --aggregate_url https://vcm-ng.appspot.com/ \
     --storage_directory ~/ODK/odk_source \
     --export_directory ~/ODK/odk_source/csv_exports \
     --odk_username admin \
     --odk_password <PASSWORD> \
     --exclude_media_export;
done

sleep 2
# DONE WITH ODK JAR FILE #
wget -O/dev/null "${API_ROOT}?task=finish_odk_jar&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"

sleep 2

# DONE WITH ODK JAR FILE #
wget -O/dev/null "${API_ROOT}?task=ingest_odk_regions&username=${POLIO_USERNAME}&api_key=${POLIO_KEY}&cron_guid=${UUID}"
{'fraction_non_alphanumeric': 0.16333178222429037, 'fraction_numerical': 0.018613308515588647, 'mean_word_length': 4.8108108108108105, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4015634', 'n_tokens_mistral': 892, 'n_tokens_neox': 856, 'n_words': 126}