hrecht / censusapi

R package to retrieve U.S. Census data and metadata via API
https://www.hrecht.com/censusapi/
169 stars 30 forks source link

Feature request: option to not format columns as numeric #80

Closed hrecht closed 2 years ago

hrecht commented 2 years ago

Suggested in https://github.com/hrecht/censusapi/issues/68, look into an option for no column typing. This could be helpful for weird new data additions in the future.

hrecht commented 2 years ago

This is now in v0.8.0 on Github, soon to be on CRAN - use getCensus(convert_variables = F) to leave all variables as characters, as originally returned by Census. Default is TRUE, which keeps the existing behavior of converting number columns to numeric.