Peter Higgins

Results 16 comments of Peter Higgins

This sounds like a good idea. Would it make sense to add a function like *keep_first_dupe()*, that would keep only the first occurrence of each duplicated observation? That is something...

Doh, you are absolutely right... On Friday, February 4, 2022, 02:22:46 PM EST, Jonathan Zadra ***@***.***> wrote: I think it's easier just to follow it up with distinct(), unless I'm...

The dropdowns and checkboxes and date selection are great for data entry error prevention - but it would be awesome to somehow add limits to fields - min and max...

Just following up on this with what seems to be a related issue. `scan_data` does not appear to work on sf data Data on bus_stops downloaded from https://data.a2gov.org/feeds/GIS/AATA%20BusStops/AATA_Bus_Stops.shp.xml It just...

Sure - anytime via email or twitter at @ibddoctor On Friday, July 2, 2021, 11:06:48 AM PDT, Richard Iannone ***@***.***> wrote: Peter, this is very helpful, thank you for providing...

lots of challenges with labels. I tend to link them ( 0_failed, 1_success) to make sure they don't get confused or lost/flipped, as happened in the JAMA asthma intervention trial...

Once they are linked, you can recover the numeric version with parse_number, and you can recover the text label with str_sub(3,-1) - though it would be nice to wrap this...

in theory, 3 helper functions1. link_label() - links stored number to label, as in (0_no, 1_yes), and also makes variable into a factor, with levels ordered by the number.2. parse_number()...

Would vote for AGG from {ragg} as a graphics engine option. Quite fast, handles fonts well.

Exactly. To deidentify a clinical dataset. zipcode replaced with deid_zipcodename replaced with deid_namestreet with deid_streetdob with deid_dobetc. Ideally, the date of birth(dob) would be the index date, and could be...