Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when getting 2010 census block-level data for an area in Alaska #120

Closed
chrismp opened this issue Jul 20, 2021 · 1 comment
Closed

Comments

@chrismp
Copy link

chrismp commented Jul 20, 2021

Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/ or https://community.rstudio.com/.

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.


When I run this code...

get_decennial(
  geography = 'block',
  county = '158',
  state = '02',
  geometry = T,
  variables = 'P001001',
  cache_table = T
)

I get this error...


Getting data from the 2010 decennial Census
Downloading feature geometry from the Census website.  To cache shapefiles for use in future sessions, set `options(tigris_use_cache = TRUE)`.
No encoding supplied: defaulting to UTF-8.
Error : Your API call has errors.  The API message returned is .
Using Census Summary File 1
Error in UseMethod("gather") : 
  no applicable method for 'gather' applied to an object of class "character"
@hadley
Copy link
Member

hadley commented Oct 31, 2023

I think you filed this in the wrong place.

@hadley hadley closed this as completed Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants