Commit 1d52706c authored by Idriss Neumann's avatar Idriss Neumann
Browse files

One owid file has changed the columns order

parent 19a00382
Pipeline #3005 canceled with stage
in 15 minutes and 28 seconds
......@@ -218,7 +218,7 @@ ingest_data_world_vaccine_locations() {
line=0
usecase="vaccinelocations"
start_log "${usecase}"
invoke_url "${DATA_VACCINE_WORLD_LOCATIONS}" "${usecase}"|while IFS=',' read vplace viso vsource vurl vvaccines vdate trash; do
invoke_url "${DATA_VACCINE_WORLD_LOCATIONS}" "${usecase}"|while IFS=',' read vplace viso vvaccines vdate vsource vurl trash; do
if [[ $line -gt 0 ]]; then
json="{\"vdate\":\"$(format $vdate)\",\"vplace\":\"$(format $vplace)\",\"viso\":\"$(format $viso)\",\"vvaccines\":\"$(format $vvaccines)\",\"vsource\":\"$(format $vsource)\",\"vurl\":\"$(format $vurl)\"}"
push_document "${json}" '.vdate+.vplace+.vsource' "${usecase}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment