extract_data_from_odk_zip: Unzip and extract ODK data from ODK zip

View source: R/format_odk_data.R

extract_data_from_odk_zipR Documentation

Unzip and extract ODK data from ODK zip

Description

Unzip and extract ODK data from ODK zip

Usage

extract_data_from_odk_zip(
  odk_zip,
  csv_name,
  start_date = NULL,
  end_date = NULL,
  local_dir = tempdir(),
  col_specs = NULL
)

Arguments

odk_zip

absolute path to the zip file named "'fid'.zip" containing ODK submissions as CSV, plus separate CSVs for any repeating groups, plus any attachments in a subfolder 'media'

csv_name

name of the .CSV file

start_date

start date (optional, by default set to 'NULL')

end_date

end date (optional, by default set to 'NULL')

local_dir

local directory (optional, by default set to 'tempdir()')

col_specs

column specifications (optional)

Value

This function returns a formatted dataframe for future display and analysis.


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.