Questions tagged [census]
187 questions
2
votes
0 answers
Python Requests Package with Census API Dataset Containing Percentages
So, this is my first time using the Census API (or any API at all), and I have had some amount of luck so far. Rather than using the census package or cenpy, I have just been creating the URL's by hand since it is not that difficult.
For example,…

Audrey
- 43
- 4
2
votes
3 answers
acs package in R: Cannot download dataset, error message is inscrutable
I am trying to use the acs package in R to download Census data for a basic map, but I am unable to download the data and I'm receiving a confusing error message.
My code is as follows:
#Including all packages here in case this is somehow the…

mmalloy
- 54
- 7
2
votes
1 answer
Trouble fetching data from DP04 table using acs.R
I am using the acs.R package and I am having trouble collecting data from the DP tables and S tables. The tables beginning with B are fine though. Here is an example of my code and the error I receive:
national = geo.make(us="*")
Race_US <-…

cwonderly
- 21
- 3
2
votes
1 answer
How do I use R to download data from American Fact Finder?
In a question related to my previous question, I would like to know how to download data from American Fact Finder. According to the American Fact Finder Deep-linking guide, the http path to the links is quite regular, and remains consistent over…

Mox
- 511
- 5
- 15
2
votes
1 answer
R acs package - fetching county level data for all us only third of counties ouput
Thanks in advance for any help.
Trying to retrieve county level(entire US) data for one variable from US Census with acs package. Only getting data for 830 counties. Trying to get data for all 3200 or so counties. Tried setting the geo.make to a…

MPC24
- 81
- 3
2
votes
2 answers
How do I get core clojure functions to work with my defrecords
I have a defrecord called a bag. It behaves like a list of item to count. This is sometimes called a frequency or a census. I want to be able to do the following
(def b (bag/create [:k 1 :k2 3])
(keys bag)
=> (:k :k1)
I tried the…

Nick Orton
- 3,563
- 2
- 21
- 28
2
votes
2 answers
Parsing an XML response to a query
I am trying to extract the County fips number for a large number of lines of longitude and latitude. I can get the data from an FCC API, but am having a hard time reading it into R.
For example, when I run the following code in R:
library(httr)
fips…

Parth Vaishnav
- 21
- 2
2
votes
2 answers
Google maps Census tract
I have searched the Google map documentation for an option to return the US census tract, but haven't had any luck. I know they have a site where you can search for it by address census google maps. However I haven't found a way to access that…

Lexy Feito
- 280
- 1
- 8
- 19
2
votes
1 answer
Canadian census map division in R
I'm very new to R and to mapping, and I would like to create a map of certain data. I have a set of data named "D.Montreal" which shows which canadian census division visitors to Montreal came from in 2010. I would like to create a map using this…

K new in R
- 39
- 1
- 3
2
votes
1 answer
Formatting census queries using python wrapper for US Census API
I am using Sunlight Lab's Python wrapper class for the U.S. Census API. However, I am having some difficulties formatting my queries, as the examples the provided were not super robust. The core files from this library are a bit difficult to…

jenny
- 771
- 3
- 12
- 20
2
votes
1 answer
Mapping Census data w/ ggplot2 - Haphazard poly constructs (Now w/ Map!)
First, I apologize for the title, but I am not entirely sure how to describe what is happening with my map (hence the image inclusion). I am new to mapping with ggplot2, and for my first 'out of tutorial' map, I am attempting to display census data…

Marvin Ward Jr
- 1,019
- 1
- 11
- 30
2
votes
3 answers
Reformat census title
I've been tasked to dig through census data for things at the block level.
After learning how to navigate AND find what i'm looking for I hit a snag.
tabblock polygons (block level polygon) have an id consisting of a 15 length string,
ex:…

gm70560
- 140
- 11
1
vote
2 answers
Determine census tract of US address
I have a list of about 20k addresses in the US, and I would like to determine each one's census tract. I found a tool online that does this here, but making 20,000 requests and screenscraping the output seems like the wrong way to do.
One idea I had…

Diogenes Creosote
- 1,922
- 2
- 17
- 22
1
vote
0 answers
States wise Demographics data API for Unites States with year range
I am working on a dashboard that consists of data for the United States with a trend graph ....Do you know any source or API which provides data with year range?
Population
Trend Graph
Summary stats
Gender distribution
Trend Graph
Summary…

Pranav Patel
- 11
- 3
1
vote
0 answers
Extract the baseline and focal length using KITTI 2015 stereo dataset
I am new to image processing and I need to use the KITTI 2015 stereo images for performing a depth estimation using Census transform and hamming distance. For this I to need to find out how to extract the baseline and focal length from the…

Vulsan Bianca
- 177
- 9