Exploring economic dynamics in rural areas of the United States.
Follow these steps to begin working on this project.
-
Install Mamba, R, RStudio and Git.
-
Clone this repository with submodules.
git clone --recurse-submodules [email protected]:antonbabkin/rurec.git
-
Use Mamba to create new Python environment from the spec file.
mamba env create --file environment.yml
This will download and install all necessary packages. The environment includes Jupyter Lab and Jupytext for working with notebooks. -
From Jupyter, run code in the "Initialization" section of
nbs/index.ipynb
notebook. This will create symbolic links connecting submodules to the parent project. Notebooks are stored in.md
format, for the first time, right click to open as Notebook. -
In RStudio, open project and choose
rurec.Rproj
. Create a newrenv
environment and install R packages. Required packages are specified in theDESCRIPTION
file.
renv::init(bare = TRUE)
renv::install()