We can provide different methods for curating the data loading process for users of this data package, and one of the best workflows we've discussed is to have a function that sits in the R directory, and is callable by anyone who has installed the package. This function could be something like:
This would return all of the variables from the 1990 tract CSV that fit the environment theme, and would also join spatial data to this frame along the way. As mentioned in #2, spatial data could potentially be loaded dynamically at the time of the join by referencing a remote url (I could see this being a performance issue, though, something to try out at least).
Further refinements would allow a state=IL filter, or something like that.
We can provide different methods for curating the data loading process for users of this data package, and one of the best workflows we've discussed is to have a function that sits in the R directory, and is callable by anyone who has installed the package. This function could be something like:
This would return all of the variables from the 1990 tract CSV that fit the
environment
theme, and would also join spatial data to this frame along the way. As mentioned in #2, spatial data could potentially be loaded dynamically at the time of the join by referencing a remote url (I could see this being a performance issue, though, something to try out at least).Further refinements would allow a
state=IL
filter, or something like that.