Comments (1)
Thanks! In the latest development version I have implemented several ways to do this. First, list_cities()
now behaves as requested, with:
rcityviews::list_cities(match = "Durham")
name country lat long
10010 Durham Canada 44.18 -80.82
10011 Durham United Kingdom 54.78 -1.60
10012 Durham United States of America 35.98 -78.91
When calling cityview()
you can now provide it with a row of the output of list_cities()
, e.g.,
city <-rcityviews::list_cities(match = "Durham")[3, ]
cityview(city)
or you can provide it with an entirely new city made using new_city()
, e.g.,
city <- new_city(name = "Durham", country = "US", lat = 35.98, long = -78.91)
cityview(city)
Let me know if it works for you!
from rcityviews.
Related Issues (19)
- Generated images lack osm attribution HOT 1
- Cannot map Tokyo HOT 3
- Control Over Text Size HOT 2
- [Feature] Way to obtain/save data only so it's quicker and more effective to try out different plot styles afterward HOT 1
- [Feature] change pre-specified themes HOT 2
- "Error : node stack overflow" when downloading data HOT 4
- [Feature] Change Overpass API server HOT 2
- [Bug] Error when asking local Overpass API server HOT 2
- [Question] Meaning of defaultRadius HOT 4
- Disable certain type of buildings (or other OSM features) HOT 4
- [Feature] I would like to be able to select cities by lat/long, or by city & country HOT 2
- [Question] HOT 3
- HTTP 504 - Gateway Timeout HOT 3
- Error In Installation HOT 3
- Error in installation HOT 5
- Choose cities or towns or areas by coordinates HOT 3
- Installation error HOT 1
- git history is huge HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcityviews.