You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Niagara1000 'years' is the list we created that contains two elements, 2007 and 2012. years in our case is the .x that is required as an input field for the map_dfr function (link). year is part of the get_acs function and instead of directly saying year 2007, we enter in .x, which calls the 'years' list containing our two values, 2007 and 2012. get_acs makes the call on the 2007 data, then makes the call again on the 2012 data, and then combines that output into a data frame. .id=year is the variable name assigned to the 2007 and 2012 years. You can change .id="year" to .id="Test" and look at the data output and you will see the variable name is changed.
Hi,
I am confused about what this part of the code means:
Under part 1 Regression Model -> Grab Census Data, we have this code:
what does the
.x
and.id
refer to?The text was updated successfully, but these errors were encountered: