Here are some links I covered in the past week.

Table of Contents

General

ADVFN

Link - DB

Free site for stock, crypto and other data.

Stock Analysis and Forecasting

Link - DB

tags: package

How to use various news APIs, sentiment analysis and time series forecasting to analyze stock data.Makes use of the prophet package that connects the prophet Facebook API for forecasting. Link - DB.

How to get at the database schema of a hidden DB? - Stack Overflow

Link - DB

This is a great question about how to access an Eaglesoft database.

How I Attracted 1,000+ New Patients in Less Than 3 Years Using Instagram with Dr. Brian Baliwas - Thriving Dentist with Gary Takacs

Link - DB

R function to read in all sheets from Excel Files

Link

Custom function that uses the readxl package to loop through all of the sheets in and xls or xlsx file and returns them as a tibble or a data.frame.

library(readxl)    
read_excel_allsheets <- function(filename, tibble = FALSE) {
    # I prefer straight data.frames
    # but if you like tidyverse tibbles (the default with read_excel)
    # then just pass tibble = TRUE
    sheets <- readxl::excel_sheets(filename)
    x <- lapply(sheets, function(X) readxl::read_excel(filename, sheet = X))
    if(!tibble) x <- lapply(x, as.data.frame)
    names(x) <- sheets
    x
}

Gusto API

Link

Documentation on how to link to the Gusto payroll API.

Getting Data from the Web with R - Part 6: HTTP Basics and the RCurl Package

Link

Important Dental Metrics/KPI

Clinical Metrics

  • Active Patients - patients seen within last 24 months
  • Active Hygiene - active patients with recall in the next 6 months.

Schedule Metrics

  • Average hourly production - production divided by hours worked
  • Production per procedure - production divided by total number of procedures
  • Unfilled hours - total hours unscheduled divided by total available hours
  • Scheduled hours - total hours unscheduled divided by total available hours
  • Number of broken appointments not reappointed
  • Production lost from broken appointments

Financial Metrics

  • Production -
    • By Doctor
    • By Hygiene

Employee Metrics

  • Production Ratios
    • Per Employee - total production divided by # of employees per period
    • Per Hours Worked - total production divided by # of hours worked per period
    • Per Hygienist - total production divided by hygienist divied by no of hygienists per period
  • Hours
    • Total Hours
      • Total Hours by Department
    • Hours Per Employee
  • Compensation
    • Gross Earnings - total compensation, including base wages,
      • Total - sum of gross earnings for all employees
        • Per Employee
        • Per Department
      • Average Gross Earnings Per Employee
      • Average Gross Earnings Per Department

Master the Metrics that Matter

Link

HTML

Tool that displays outline of HTML5 documents - Software Recommendations Stack Exchange

Link - DB

Covers how to get a broad outline of a HTML5 page. Recommends the following tools:

You can have it downloaded and run within minutes (if not seconds) with just two commands:

wget https://sideshowbarker.net/releases/jar/vnu.jar
java -cp ./vnu.jar nu.validator.servlet.Main 8888

Then open http://localhost:8888/ in your browser and you’ll have a form you can use for either checking documents by specifying their URLs or by file upload. To get an outline for a document, just check the outline checkbox in that form.

Membership Websites

MemberSpace - Turn any part of your website into members-only with just a few clicks

Link - DB

13 Best Membership Website Builders and Platforms in 2021

Link - DB

Slightly skewed reviews of membership hosing sites.

Automating R Scripts and Github Actions

Running R Scripts on a Schedule with GitHub Actions - Simon Couch

Link - DB

Killer article on how to automate running an R script using Github Actions.

A Few Javascript Bookmarklets to Add to Apple Safari on iOS

I do a lot of research and writing on my iPhone. That means that I frequently need tools that aren’t readily available on iOS. Sometimes apps can stand in to do the work. Sometimes you need a little extra help.

Here is a good overview of how iOS bookmarklets work and how to install them or a list of useful ones to get you started.

PDF Pretty bookmarklet

Sometimes webpages don’t save well as PDFs (looking at you, Medium) and this gives a quick way to print to PDF in a “pretty” manner.

javascript:(function(){if(window['priFri']){window.print()}else{pfstyle='nbk';pfBkVersion='1';_pnicer_script=document.createElement('SCRIPT');_pnicer_script.type='text/javascript';_pnicer_script.src='//cdn.printfriendly.com/printfriendly.js';document.getElementsByTagName('head')[0].appendChild(_pnicer_script);}})();

View Page Source bookmarklet

I can’t recall where I found this one but it works fairly seamlessly - view the html code of any site you are browsing.

javascript:(function()%7Bvar%20a=window.open('about:blank').document;a.write('%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3Ctitle%3ESource%20of%20'+location.href+'%3C/title%3E%3Cmeta%20name=%22viewport%22%20content=%22width=device-width%22%20/%3E%3C/head%3E%3Cbody%3E%3C/body%3E%3C/html%3E');a.close();var%20b=a.body.appendChild(a.createElement('pre'));b.style.overflow='auto';b.style.whiteSpace='pre-wrap';b.appendChild(a.createTextNode(document.documentElement.innerHTML))%7D)();
javascript:(function(){var a=;for(var ln=0;ln<document.links.length;ln++){var lk=document.links[ln];a+=ln+': <a href=\+lk+'\' title=\+lk.text+'\'>'+lk+'</a><br>\n';}w=window.open(,'Links','scrollbars,resizable,width=400,height=600');w.document.write(a);}()

RDrop2 package

More to come on this one but this is a great R interface to Dropbox.

rdrop2 - Dropbox interface from R

Link

Eaglesoft

Support Home Page

Eaglesoft - Provider Productivity Report

Reports in Eaglesoft - Dental Intel Education

Google Sheets to Google Calendar

How to automatically add a schedule from Google sheets to Calendar using Apps Script - by Varsha Das - Medium

Link

Link

Link

Class Calendar  -  Apps Script  -  Google Developers

Link

DeepSpeech

Using a Pre-trained Model — DeepSpeech 0.9.3 documentation

performance - Efficiently split a large audio file in R - Stack Overflow

DeepSpeech-examples/autosub at r0.9 · mozilla/DeepSpeech-examples

tyiannak/pyAudioAnalysis: Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications

tyiannak/deep_audio_features: Pytorch implementation of deep audio embedding calculation

r - Converting MP3 file to WAV - Stack Overflow

tuneR: Analysis of Music and Speech

Working with audio in R using av - R-bloggers

audio - Fast way for splitting large .wav file using R - Stack Overflow

mozilla/DeepSpeech-examples: Examples of how to use or integrate DeepSpeech

Command Line 101 - Learn Version Control with Git

Fast setup for using DeepSpeech to transcribe audio files for free – compare to Google Speech-to-Text

audio - Large Wave File not being read in Python - Stack Overflow