I'm working at CREAF as a data analyst and modeller, mostly using R.
I collaborate with the OSM Catalan community (eg. monitorOSM) and with Catalan translations. Learning new things while improving the world makes me happy.
Implementation of OpenStreetMap API v0.6 for R
Home Page: https://jmaspons.github.io/osmapiR/
License: GNU General Public License v3.0
I'm working at CREAF as a data analyst and modeller, mostly using R.
I collaborate with the OSM Catalan community (eg. monitorOSM) and with Catalan translations. Learning new things while improving the world makes me happy.
Last sync wiki version: 2585039 - diff current
NEW osm_get_objects
: osm_fetch_objects
, osm_read_object
, osm_full_object
, osm_version_object
NEW osm_get_user_details
: osm_details_user
, osm_details_users
Unify osmchange_create
, osmchange_delete
and osmchange_modify
?
Rename files with private function for OSM API calls osm_*
-> osmapi_*
git hash: b3aa78ee
Important: All failing checks above must be addressed prior to proceeding
Package License: GPL (>= 3)
Error in httptest2::with_mock_dir
nealrichardson/httptest2#35
Works with simplify = FALSE
(e.g. https://github.com/jmaspons/osmapiR/blob/main/tests/testthat/mock_set_prefs_user/osm.org/api/0.6/user/preferences-eb5ee0-PUT.R)
Reduce clashes with tags in wide format and match osmdata
.
See:
Hi @jmaspons, congratulations on submitting this package to rOpenSci! It'll be a great addition to the OSM ecosystem there. I was trying to debug why checks for this package didn't appear, and discovered that the following lines refer to functions from osmdata
, yet that package is neither imported nor suggested here:
Lines 28 to 31 in 6589fc3
Lines 679 to 682 in 6589fc3
Lines 906 to 909 in 6589fc3
osmapiR/R/osmapi_miscellaneous.R
Lines 222 to 224 in 6589fc3
These become errors because the rOpenSci systems runs roxygen2::roxygenise()
or the equivalent devtools::document()
, while those are not called in standard rcmdcheck
, which is why those checks all pass. roxygen2
has to then parse the function name from the package, which requires the package to be installed. My preferred way around this is to replace, for example,
The function [osmdata::opq()]
with
The \pkg{osmdata} function
opq()
The \pkg{...}
tag is resolved by roxygen
simply by examining available.packages()
, regardless of whether or not they are installed, and so does not error. The function name is then just plain code that requires no interpretation. When you've fixed those, feel free to ping the bot to run checks again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.