babynames icon indicating copy to clipboard operation
babynames copied to clipboard

Added recent data to the babynames project

Open tpaxman opened this issue 3 years ago • 3 comments

Hi Hadley,

I have updated your babynames project to include recent information related to births and the life tables. The changes are summarized as follows:

  • data-raw/births.R: I added the number of total births from 2018 (which appears to be the most recent data available since final values for 2019 have not yet been reported).
  • data-raw/applicants.R: This was updated to get the html source page, which appears to have been changed since the last time this project was updated.
  • data-raw/lifetables.R: I have updated this to now include the year 2020.

I have added a few small changes for clarity and also ran the scripts to ensure that the .csv and .rda files corresponding to the changed .R files were also updated. I hope you find these of use. Thanks.

Best Regards,

Tyler Paxman

tpaxman avatar Jan 10 '21 03:01 tpaxman

Hi Hadley, It appears as though the pull request check failed since it expects to have the same sample outputs when run. However, since my addition included more recent years (post-2017) that appears to have caused the checks to fail.

tpaxman avatar Jan 11 '21 16:01 tpaxman

It would be great to have this update! I was just coming to ask if there would be interest in that.

elinw avatar Jul 03 '21 01:07 elinw

@elinw feel free to fork my branch. The update should have worked there at least.

tylerpaxman avatar Jul 03 '21 05:07 tylerpaxman