| Photos | R Documentation |
Create an instance to deal with photo files that has getGPS method to extract GPS locations of photos
Photos(path)
path |
a character of either local path or an url linked to a Google drive folder. |
an instance that has getGPS method.
\donntrun{
# If supplied a Google Drive folder url:
folderUrl = "https://drive.google.com/drive/u/0/folders/1ldcrE5XGgN96qImQ7oYslTQCG2ccohNd"
folderUrl |> Photos() -> ph
ph$getGPS() -> dfMeta
# or
ph$getGPS(deauth=F) -> dfMeta # if require Google authentication.
# If supplied a local path (must install exiftool first, may only work for MacOS)
folderPath = "./photos"
folderPath |> Photos() -> ph2
ph2$getGPS() -> dfMeta2
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.