The purpose of this repository is to provide reusable examples for basic data processing (cleaning and manipulation) and analysis with the policy analyst in mind. Examples will be grouped by task; within each task group will by examples using Python (.py
) and R (.R
). Subsequent tasks build on examples in previous tasks (e.g. scripts for analyzing data build on scripts for uploading and processing said data). If you haven't yet, please download and install the Anaconda distribution of Python; once installed, don't forget to install R by running conda install -c r r
in command prompt or the terminal.
- How do I upload / import data from a file (
.xlsx
,.csv
,.dta
...)? - How do I pull data directly from a database?
- How do I clean / manipulate data before performing my analysis?
- How do I match / merge two (or more) datasets?
- I'm done processing data, how do I analyse it?
- How do I quickly visualize my data?
- Is it possible to integrate with other technologies (e.g. Tableau) to visualize my data?
- Is there a way to export my data or a report to a
.xlsx
or.csv
file?