Watts-College / paf-515-spr-2024

1 stars 0 forks source link

Lab 4 #10

Open StephanieDeus opened 3 months ago

StephanieDeus commented 3 months ago

Hi Professor Stowers,

I am encountering an error when I need to filter our data set to exclude tracts without SVI flag data for 2010 and 2020 . I'm not sure why R is not finding the object "pre10_nmtc_project_cnt" when it loaded successfully.

Can you please help me?

Screenshot 2024-04-14 at 3 41 03 AM Screenshot 2024-04-14 at 3 42 03 AM
castower commented 3 months ago

Hello @StephanieDeus,

You will want to make sure you've completed the step to join to the pre2010 data before the post2010 data.

This error indicates the join didn't save properly.

You can search the code-through for the following line to find the step:

Find count of pre2010 NMTC projects

StephanieDeus commented 3 months ago

How do I save it properly? I ran the code and it still gives the error and I can't move forward.

castower commented 3 months ago

Do you have the code chunk that appears below that header in your .rmd file? @StephanieDeus

StephanieDeus commented 3 months ago

Yes

StephanieDeus commented 3 months ago
Screenshot 2024-04-14 at 10 00 54 AM
castower commented 3 months ago

@StephanieDeus There should be the step to join the pre2010 data to your svi_divisional_nmtc_eligible data frame before joining the post2010 data.

StephanieDeus commented 3 months ago

Yes! Thank you, I looked over the code-through so many times and did not realize that I missed that step. I should put on my glasses. Thank you so much!

castower commented 3 months ago

@StephanieDeus

No worries, it happens all the time!!

Glad that resolved your issue :)