Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date/time packages #35

Closed
andrewallenbruce opened this issue Nov 5, 2023 · 2 comments
Closed

Date/time packages #35

andrewallenbruce opened this issue Nov 5, 2023 · 2 comments
Assignees
Labels
consistency 🗻 adherence to standards
Milestone

Comments

@andrewallenbruce
Copy link
Owner

andrewallenbruce commented Nov 5, 2023

{provider} currently depends on the following date/time packages:

  1. anytime
  2. dint
  3. lubridate

Functions with date types:

beneficiaries
#> Columns: 1
#> $ year <date_y> 2022

betos
#> Columns: 3
#> $ hcpcs_start_date <date> 2020-12-11
#> $ hcpcs_end_date   <date> 9999-12-31
#> $ rbcs_start_date  <date> 2017-01-01

clinicians
#> Columns: 1
#> $ grad_year <date_y> 2003

conditions
#> Columns: 1
#> $ year <date_y> 2018

hospitals
#> Columns: 2
#> $ incorp_date <date> 2010-01-27
#> $ reh_date    <date> 2023-08-24

laboratories
#> Columns: 6
#> $ effective_date     <date> 1996-08-29
#> $ expiration_date    <date> 1998-08-04
#> $ orig_part_date     <date> 1992-09-01
#> $ application_date   <date> 1993-01-20
#> $ certification_date <date> 1996-03-21
#> $ mailed_date        <date> 1996-09-25

nppes
#> Columns: 3
#> $ enum_date   <date> 2019-08-21
#> $ cert_date   <date> 2021-09-14
#> $ last_update <date> 2021-09-14

open_payments
#> Columns: 3
#> $ program_year <date_y> 2021
#> $ pay_date     <date> 2021-05-26
#> $ publish_date <date> 2023-06-30

opt_out
#> Columns: 3
#> $ optout_start_date <date> 2019-07-01
#> $ optout_end_date   <date> 2025-07-01
#> $ last_updated      <date> 2023-09-15

outpatient
#> Columns: 1
#> $ year <date_y> 2021

quality_eligibility
#> Columns: 3
#> $ year                  <chr> "2020"
#> $ first_approved_date   <chr> "2011-09-13"
#> $ pecos_enrollment_date <int> 2011

quality_stats
#> Columns: 1
#> $ year <int> 2020

quality_payment
#> Columns: 1
#> $ year <date_y> 2020

utilization
#> Columns: 1
#> $ year <date_y> 2020

Created on 2023-11-04 with reprex v2.0.2

@andrewallenbruce andrewallenbruce added the consistency 🗻 adherence to standards label Nov 5, 2023
@andrewallenbruce andrewallenbruce added this to the 0.0.1 milestone Nov 5, 2023
@andrewallenbruce andrewallenbruce self-assigned this Nov 5, 2023
@andrewallenbruce
Copy link
Owner Author

andrewallenbruce commented Nov 5, 2023

Remove dint as a dependency:

  • beneficiaries
  • clinicians
  • conditions
  • open_payments
  • outpatient
  • quality_payment
  • utilization

@andrewallenbruce
Copy link
Owner Author

andrewallenbruce commented Nov 5, 2023

Replace anytime::anydate with lubridate::mdy/ymd

  • betos
  • hospitals
  • laboratories
  • nppes
  • open_payments
  • opt_out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consistency 🗻 adherence to standards
Projects
None yet
Development

No branches or pull requests

1 participant