Open CynthiaLteif opened 2 years ago
@CynthiaLteif can you try:
library(tidycensus)
library(tidyverse)
library(viridis)
census_api_key("8eab9b16f44cb26460ecbde164482194b7052772")
Var<-c("B19013_001","B25077_001")
c(Median household Income, Median Housing Value)
CenDF <- get_acs(geography = "county",
variables = Var,
year = 2017,
survey = "acs5",
geometry = TRUE,
shift_geo = TRUE)
Error: unexpected symbol in "c(Median household" @AntJam-Howell
@CynthiaLteif should be a # in front, some reason it was commented out of my post. Should be:
@CynthiaLteif but add the # to comment it out (its just a note to tell you what the variables are that are being loaded in).
API error remains the same @AntJam-Howell
I noticed I was doing an error, it worked out now, thanks a lot! @AntJam-Howell
@AntJam-Howell
Every time I try to run the CenDF code I get this error. My code is attached
Error: Your API call has errors. The API message returned is <!doctype html>
HTTP Status 404 ? Not Found
.