Watts-College / paf-515-template

https://watts-college.github.io/paf-515-template/
1 stars 1 forks source link

Lab05 - Cannot Find Functions #19

Open CTNovoa opened 1 day ago

CTNovoa commented 1 day ago

I am not sure what's happening as my project_data_steps_corina.R file seems to be correct, but R keeps telling me that it cannot find functions such as "census_api_key" and "str_replace_all"

Any idea what I may be doing wrong? I have also verified that my working directory is correct.

Thank you for the assistance!

castower commented 1 day ago

Hi @CTNovoa, Are your libraries loaded?

str_replace_all() should come from the tidyverse/stringr and census_api_key() comes from tidycensus.

CTNovoa commented 1 day ago

I could have sworn that I had already loaded them; that worked! My sincere apologies to trouble you with this. Oops!

castower commented 1 day ago

No problem!! Glad that worked @CTNovoa