...
Download and install Python.
Install a Python package manager (we recommend pip).
Install the ComCare Data Export tool.
Create an Excel Query File.
Write a command-line query to run the export.
(Optionally) Configure export to be re-run automatically.
Use data.
Expand | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||
Install DET on WindowsThe Data Export tool is installed by using the pip install commcare-export command. Install PythonVisit the Python for Windows page and download the latest version of Python. Install pipInstallation is straightforward if your local machine has a recent version of Python installed because the package installer, pip, will already be installed. You can check whether pip is installed by running the following in the command-line interpreter:
Install commcare-export
Upgrade commcare export
Install DET on MacOSThe Data Export tool is installed by using the pip install commcare-export command. Install PythonFor MacOS make sure that your Python installation is upgraded to the latest version. The best way to install software on a Mac is via Homebrew. You need to open a terminal and run two scripts to install Homebrew and the latest version of Python. Open a terminal and run the following two commands.
For Homebrew, use the following:
Install commcare-export
Upgrade commcare-export
Install DET on LinuxThe Data Export tool is installed by using the pip install commcare-export command. Install PythonIf you are on a Linux-based operating system, you probably have an automatic package manager available. You probably already have Python installed, but if not, then you will need to invoke the package manager for your operating system. Here are some possible commands to run in the command-line interpreter:
or
or
Install pip
Install commcare-export
Upgrade commcare-export
|
Run a CommCare Export
Once you have all the components ready, you can run the commcare-export command.
...