Anyone associated with CEPESP who wants to produce precise, attractive tables, charts, maps and documents. For example, to quickly take the results of multiple regressions and present them in formatted tables; to create marginal effect plots or histograms; to analyze and generate maps of key datasets; or to produce an entire reproducible article.
The course will take place in 4000 C+D, in the Economics building, at 8am-10am weekly, for 10 weeks starting on March 20th. Participants will use their own laptop where possible. The format will start with a demonstration of key functionality, followed by an exercise to be conducted in class, and concluding with a short summary. There is no homework, but participants will be guided to key reference texts, tutorials and examples where they can learn more and practice.
Participants will be asked to prepare their laptops before the first class (install Rstudio, latex, key packages).
Introduction (20/03) - Explain the Rstudio interface, options and workflow. Importing data. Viewing data. R as a calculator. R chunks. Text and equations. Basic formatting. Producing PDFs and web pages from markdown.
Playing with Data (27/03) - Dataframe manipulation. Piping. Object types.
Describing Data (03/04) - Descriptive statistics, t-tests. Table outputs (kable).
Regressions with Data (10/04) - Models with Zelig. Tables with Stargazer. Chunk options.
Charts from Data (17/04) - Charts in ggplot2. Scatterplots, histograms. Marginal effect plots. Colours.
Combining Data (24/04) - Merging data. Conditional data manipulation. Bibliographies in Markdown
Mapping Data 1 (08/05) - Spatial analysis basics - formats, CRS. Simple Features.
Mapping Data 2 (15/05) - Spatial statistics. Visualizing maps. Leaflet.
Interactive Data (22/05) - Interactive applications - shiny.
Integrated Project (TBC) - Create your own app for cepespdata!