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

MiniProject4_KJ.qmd #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kennjil-15
Copy link

For this exercise, I believe I successfully completed the tasks of forking the repository and submitting a pull request. However, I encountered issues with the R script file while working on the provided code. Specifically, I kept receiving an error stating that the API key was invalid or inactive. I activated the API key, and it was stored successfully in R.
In the "Pull the Census" section, I noticed an inconsistency: when I ran the code line by line, adding an additional line each time, it executed successfully. However, when I attempted to run the entire chunk at once, I encountered the following error:
"Getting data from the 2018-2022 5-year ACS
Downloading feature geometry from the Census website. To cache shapefiles for use in future sessions, set options(tigris_use_cache = TRUE).
Using FIPS code '42' for state 'PA'
No encoding supplied: defaulting to UTF-8.
Error: You have supplied an invalid or inactive API key. To obtain a valid API key, visit https://api.census.gov/data/key_signup.html. To activate your key, be sure to click the link provided to you in the email from the Census Bureau that contained your key".
I'm unsure why this error occurred and would appreciate the opportunity to discuss it further to better understand the issue and ensure it does not negatively impact my grade.

@kennjil-15 kennjil-15 changed the title Update and rename error.qmd to MiniProject4_KJ.qmd MiniProject4_KJ.qmd Dec 2, 2024
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

Successfully merging this pull request may close these issues.

1 participant