GithubHelp home page GithubHelp logo

bearloga / 2010-us-census-shiny-app Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 3.0 287 KB

Enables exploration of the 2010 US Census data from the UScensus2010* package(s) via a web interface created in R with Shiny.

R 100.00%

2010-us-census-shiny-app's Introduction

2010 US Census Shiny App

By Mikhail Y. Popov
email [email protected]
web http://www.mpopov.com
demo live demonstration
related Guide to Shiny Server on Amazon EC2

Enables exploration of the 2010 US Census data from the UScensus2010* package(s) via a web interface created in R with Shiny.

Preview of the resulting web app.

The data on the counties, tracts, block groups, blocks, and CDPs totals 4.7 GB, which will take a while to download. However, you only need to download county, tract, and block group data which is less than 500 mb. When you've downloaded the packages, run:

install.packages(c("maptools","maps"));
install.packages(c(
"UScensus2010county_1.00.tar.gz",
"UScensus2010tract_1.00.tar.gz",
"UScensus2010blkgrp_1.00.tar.gz",
# "UScensus2010cdp_1.00.tar.gz", # currently not needed
# "UScensus2010blk_1.00.tar.gz", # currently not needed
"UScensus2010_0.11.zip"
), repos = NULL, type = "source")

Assuming you've installed the shiny package and that shinyapp is a folder in your working directory, run:

shiny::runApp("shinyapp")

Still need to add the remaining census variables because Total Population and Population Density are not the most exciting to study. I'll be adding features over time. For example, I'm considering incorporating the Public Use Microdata Sample files from the American Community Survey (PUMS ACS)...eventually.

Cheers!

2010-us-census-shiny-app's People

Contributors

bearloga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

2010-us-census-shiny-app's Issues

2010-US-Census Shiny App: variables.dat

Hi Mikhail,
Really like what you created. It has much of what I need to get started on a project. One question: what is the content/format of the variables.dat file? I cannot seem to find any info on that. Do you have an example file I might use to learn from?

Hope to hear from you. Thanks!

Cliff

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.