[This data is published under an Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license]
R Shiny application to explore immigrant visa data from the U.S. State Department.
The department releases data annually and monthly in PDFs.
The data has been scraped, cleaned and organized in a downloadable format along with the app.
The repo can be downloaded and explored manually.
To run the app, you must have R version 3.5 or later installed first.
Via terminal
After you've installed R, In the terminal, run
R -e "install.packages('shiny', repos='http://cran.rstudio.com/')"
R -e "shiny::runGitHub('immigrant_visas', 'wpinvestigative', launch.browser=TRUE)"
Via RStudio
The application can be run locally with the following command in R Studio:
install.packages("shiny", repos="http://cran.rstudio.com/")
shiny::runGitHub("immigrant_visas", "wpinvestigative")
- scripts - Exploratory data analysis
- raw_data - Raw data or consolidated spreadsheets from scraped PDFs
- output_data - Cleaned data transformed from raw data used for analysis and the Shiny App