Skip to content

Commit

Permalink
+ spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacko committed Apr 26, 2022
1 parent f0c9399 commit 15558ff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions R/gmapsdistance.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#' @export
#'
#' @param origin A string or vector of strings containing the description of the
#' starting point(s). Should be inside of quoutes ("").
#' starting point(s). Should be inside of quotes ("").
#'
#' Coordinates in LAT-LONG format are also a valid input as long as they
#' can be identified by Google Maps.
Expand Down Expand Up @@ -71,9 +71,9 @@
#' "highways", "ferries", "indoor".
#'
#'
#' @param departure The time and distance can be comptued at the desired time of
#' @param departure The time and distance can be computed at the desired time of
#' departure. The option departure is the number of seconds since January
#' 1, 1970 00:00:00 UCT. Alternatively, the user can use the dep_date and
#' 1, 1970 00:00:00 UTC. Alternatively, the user can use the dep_date and
#' dep_time options to set the departure date and time.
#'
#' If no value is set for departure, dep_date and dep_time, the departure time is
Expand Down Expand Up @@ -105,8 +105,8 @@
#'
#'
#' @param arrival For transportation mode "transit" the time and distance can
#' be comptued to arrive at a predetermined time. The option arrival is the
#' number of seconds since January 1, 1970 00:00:00 UCT. Alternatively, the
#' be computed to arrive at a predetermined time. The option arrival is the
#' number of seconds since January 1, 1970 00:00:00 UTC. Alternatively, the
#' user can use the arr_date and arr_time options to set the arrival date and time.
#'
#' For transport modes other than "transit" the use of arrival (and arr_date
Expand Down Expand Up @@ -272,7 +272,7 @@ gmapsdistance = function(origin,


# ARRIVAL TIMES ----
# Convert arrrival time from date and hour to seconds after Jan 1, 1970, 00:00:00 UCT
# Convert arrrival time from date and hour to seconds after Jan 1, 1970, 00:00:00 UTC
if(arr_date != "" && arr_time != ""){
arriv = strptime(paste(arr_date, arr_time), "%F %H:%M:%OS", tz="UTC")
seconds_arrival = round(as.numeric(arriv))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ It is currently maintained by [Jindra Lacko](mailto:jindra.lacko@gmail.com).
[AUTHORS.md](https://github.com/jlacko/gmapsdistance/blob/master/AUTHORS.md) have a list of everyone who have contributed to gmapsdistance.

## Where has gmapsdistance be used/mentioned.
We like to keep track of the projects where gmapsdistance has been used. This will help us identify how to better improve the code. Let us know if you use gmapsditance! Below you will find links to some of the projects and some of the references to gmapsdistance that we have found.
We like to keep track of the projects where gmapsdistance has been used. This will help us identify how to better improve the code. Let us know if you use gmapsdistance! Below you will find links to some of the projects and some of the references to gmapsdistance that we have found.

1. Proximity to pediatric cardiac specialty care for adolescents with congenital heart defects. [Link to article](https://onlinelibrary.wiley.com/doi/10.1002/bdr2.1129).

Expand Down
10 changes: 5 additions & 5 deletions man/gmapsdistance.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 15558ff

Please sign in to comment.