4 hours ago · 11 min read2128 words · Art · hide · 0 comments

I recently updated nycdogs, a data package for R that I originally made for teaching purposes. It bundles up New York City’s dog licensing and dog bite datasets into an R package. The data is already provided by the city in a directly usable way (as CSV files), but packaging it up makes it easier to integrate with other packages and get things moving a little more quickly in class. The nyc_license table looks like this: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 nyc_license #> # A tibble: 819,323 × 12 #> animal_name animal_gender animal_birth_year breed_name breed_rc zip_code zip license_issued_date license_expired_date extract_year borough city #> <chr> <chr> <int> <chr> <chr> <chr> <chr> <date> <date> <int> <chr> <chr> #> 1 Paige F 2014 American Pit Bu… Pit Bul… 10035 10035 2014-09-12 2017-09-12 2016 Manhat… New … #> 2 Yogi M 2010 Boxer Boxer 10465 10465 2014-09-12 2017-10-02 2016 Bronx Bronx #> 3 Ali M 2014 Basenji Basenji 10013 10013 2014-09-12 2019-09-12 2016 Manhat… New … #> 4 Queen F…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.