Package Summary

Summary description of package capabilities.

MazamaCoreUtils MazamaCoreUtils-package

MazamaCoreUtils

Time Utilities

Functions for working with datetimes

dateRange()

Create a POSIXct date range

dateSequence()

Create a POSIXct date sequence

parseDatetime()

Parse datetimes

timeRange()

Create a POSIXct time range

timeStamp()

Create character timestamps

Location Utilities

Functions for working with geographical locations

createLocationID()

Create one or more unique location IDs

createLocationMask()

Create a mask of valid locations

validateLonLat()

Validate longitude and latitude values

validateLonsLats()

Validate longitude and latitude vectors

Logging Utilities

Logging utilities for MazamaScience projects

initializeLogging()

Initialize standard log files

FATAL

Log levels

logger.debug()

Python-style logging statements

logger.error()

Python-style logging statements

logger.fatal()

Python-style logging statements

logger.info()

Python-style logging statements

logger.isInitialized()

Check whether logging has been initialized

logger.setLevel()

Set console log level

logger.setup()

Set up Python-style logging

logger.trace()

Python-style logging statements

logger.warn()

Python-style logging statements

Linting Utilities

Linting utilites for internal MazamaScience development

lintFunctionArgs_file() lintFunctionArgs_dir()

Lint function calls for required named arguments

timezoneLintRules

Timezone linting rules

Package Checking Utilities

Wrapper functions to run devtools::check() with arguments

check() check_fast() check_faster() check_fastest() check_slow() check_slower() check_slowest()

Run package checks

Working with NULL values

Convenience functions for working with NULL values

setIfNull()

Set a variable to a default value if it is NULL

stopIfNull()

Stop if an object is NULL

HTML Utilities

Functions for parsing web documents

html_getLinks() html_getLinkNames() html_getLinkUrls()

Extract links from an HTML page

html_getTables() html_getTable()

Extract tables from an HTML page

API Keys

An abstraction layer for the use of API keys

APIKeys

API keys for data services

getAPIKey()

Get API key

setAPIKey()

Set API key

showAPIKeys()

Show API keys

Other Utilites

loadDataFile()

Load R data from a URL or local file

manageCache()

Manage cache size

stopOnError()

Stop on try-error