Hello World

Marina’s first attempt at using distill

Marina
08-10-2021

Time to read in data. Start with an easy one

# A tibble: 6 × 32
  hotel        is_canceled lead_time arrival_date_ye… arrival_date_mo…
  <chr>              <dbl>     <dbl>            <dbl> <chr>           
1 Resort Hotel           0       342             2015 July            
2 Resort Hotel           0       737             2015 July            
3 Resort Hotel           0         7             2015 July            
4 Resort Hotel           0        13             2015 July            
5 Resort Hotel           0        14             2015 July            
6 Resort Hotel           0        14             2015 July            
# … with 27 more variables: arrival_date_week_number <dbl>,
#   arrival_date_day_of_month <dbl>, stays_in_weekend_nights <dbl>,
#   stays_in_week_nights <dbl>, adults <dbl>, children <dbl>,
#   babies <dbl>, meal <chr>, country <chr>, market_segment <chr>,
#   distribution_channel <chr>, is_repeated_guest <dbl>,
#   previous_cancellations <dbl>,
#   previous_bookings_not_canceled <dbl>, reserved_room_type <chr>, …

Try a harder one: an excel file with a number of useless rows

# A tibble: 6 × 17
  blank pay_grade SWOC_male SWOC_female SWOC_total SWC_male SWC_female
  <chr> <chr>         <dbl>       <dbl>      <dbl>    <dbl>      <dbl>
1 <NA>  E-1           31229        5717      36946      563        122
2 <NA>  E-2           53094        8388      61482     1457        275
3 <NA>  E-3          131091       21019     152110     4264       1920
4 <NA>  E-4          112710       16381     129091     9491       4662
5 <NA>  E-5           57989       11021      69010    10937       6576
6 <NA>  E-6           19125        4654      23779    10369       4962
# … with 10 more variables: SWC_total <dbl>, JSM_male <dbl>,
#   JSM_female <dbl>, JSM_total <dbl>, CM_male <dbl>,
#   CM_female <dbl>, CM_total <dbl>, Total_Male <dbl>,
#   Total_Female <dbl>, Total_Total <dbl>

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Marina (2021, Aug. 10). DACSS 601 August 2021: Hello World. Retrieved from https://mrolfe.github.io/DACSS601August2021/posts/2021-08-10-hello-world/

BibTeX citation

@misc{marina2021hello,
  author = {Marina, },
  title = {DACSS 601 August 2021: Hello World},
  url = {https://mrolfe.github.io/DACSS601August2021/posts/2021-08-10-hello-world/},
  year = {2021}
}