Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop readr artifacts in cowstates and gwstates #22

Closed
andybega opened this issue Oct 15, 2020 · 0 comments
Closed

Drop readr artifacts in cowstates and gwstates #22

andybega opened this issue Oct 15, 2020 · 0 comments

Comments

@andybega
Copy link
Owner

All the attr() stuff, e.g.:

library(states)
data(cowstates)
str(cowstates)
#> 'data.frame':    243 obs. of  5 variables:
#>  $ cowcode     : num  2 20 31 40 40 41 41 42 42 51 ...
#>  $ cowc        : chr  "USA" "CAN" "BHM" "CUB" ...
#>  $ country_name: chr  "United States of America" "Canada" "Bahamas" "Cuba" ...
#>  $ start       : Date, format: "1816-01-01" "1920-01-10" ...
#>  $ end         : Date, format: "9999-12-31" "9999-12-31" ...
#>  - attr(*, "spec")=List of 3
#>   ..$ cols   :List of 10
#>   .. ..$ stateabb: list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_character" "collector"
#>   .. ..$ ccode   : list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   .. ..$ statenme: list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_character" "collector"
#>   .. ..$ styear  : list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   .. ..$ stmonth : list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   .. ..$ stday   : list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   .. ..$ endyear : list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   .. ..$ endmonth: list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   .. ..$ endday  : list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   .. ..$ version : list()
#>   .. .. ..- attr(*, "class")= chr [1:2] "collector_double" "collector"
#>   ..$ default: list()
#>   .. ..- attr(*, "class")= chr [1:2] "collector_guess" "collector"
#>   ..$ skip   : num 1
#>   ..- attr(*, "class")= chr "col_spec"

Created on 2020-10-15 by the reprex package (v0.3.0)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant