andybega / states

Create country-year/month/day panels consistent with the COW or Gleditsch & Ward independent states lists
https://andybeger.com/states/
Other
14 stars 0 forks source link

`plot_missing` error when input is `tbl_df` #2

Closed andybega closed 5 years ago

andybega commented 7 years ago

Do something like as.data.frame on the input so it doesn't choke on tbl_df input, with a completely uninformative error:

Error in sort.list(y) : 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?