Giter VIP home page Giter VIP logo

babynames's People

Contributors

clayford avatar hadley avatar kbroman avatar meatballhat avatar ramnathv avatar russellpierce avatar stillmatic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

babynames's Issues

Release babynames 1.0.0

Submit to CRAN:

  • usethis::use_version('1.0.0')
  • devtools::check_win_devel() (again!)
  • devtools::submit_cran()
  • Approve email

Wait for CRAN...

  • usethis::use_release_tag()
  • usethis::use_dev_version()
  • Finish blog post
  • Tweet
  • Add link to blog post in pkgdown news menu

update with 2016 data

Easily updated:
applicants: can run applicants.R as is
names: can run names.R as is after running applicants.R

Less so:
births: I don't have .xls file to run the script. Manually-obtained total for 2016 is 3945875 (p.2)
lifetables: script lifetables.R does not work, this URL is now broken: "http://www.ssa.gov/oact/NOTES/as120/LifeTables_Tbl_7_%s.html

Given that there's already a manual data entry element to births, it might be worth hardcoding the births data in the package already into births.R and eliminating reference to the .xls source except as a comment.

I will submit a PR for names (probably the most used part of this package) and applicants.

Update with 2017 Data

@hadley It looks like the PR for the 2016 data didn't catch your attention. Would one for 2017? :)

Related... I found an XLS by the same name as the one you note went missing from the census website in two locations...

http://webapp1.dlib.indiana.edu/virtual_disk_library/index.cgi/4232284/FID3473/Sprdshts/MINI-HS/02HS0013.xls and https://www2.census.gov/library/publications/2004/compendia/statab/123ed/hist/02HS0013.xls

The only difference appears to be that births in {babynames} appears to be rounded/truncated at the 1000s place whereas my source documents have a more detailed count.

Tibble as import?

This package Imports {tibble}, but I don't see an obvious reason that might be required. Can that requirement be dropped?

What do the proportions represent in babynames?

I'm playing with the data and wondering why

totals <- babynames %>%
   group_by(year) %>%
   summarize(totprop = sum(prop), tot=sum(n))

doesn't return what I was expecting. I know tot in my summarized data should be less than n_all in the applicants data because uncommon names aren't represented in babynames, but why doesn't totprop add up to something less than or equal to 1? Most totprops are about 1.8.

New data set?

Hi Hadley,

I work for OpenIntro managing a small team of volunteers who build datasets to be included in packages associated with those textbooks. One of my volunteers built a dataset using the same source as this package. It includes the top 20 names for all years up to 2020.

I wanted to raise an issue to see if you'd be interested in adding it to this package before I opened a PR. You can view the dataset here. I can change the name of the dataset to better reflect the content if you decide its worth adding to babynames; it was named by the volunteer with the intent of being in openintro but seems more relevant here.

Best,
~Nick

2015 data now available

I am aware of this bc the name Isis has apparently ousted Hillary/Hilary as the fastest dropping name. I can take a stab at incorporating and send a PR.

Add sex to births data

The current births data set only contains the total number of children by year. I'm finding it nearly impossible to do anything useful with it.

If we break the births data out by sex and year, we can do all of the examples we used to do in Stat 405. If you'd like the births data set we used in Stat 405, let me know. I still have it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.