Giter Site home page Giter Site logo

extractss's People

Contributors

cellyranks avatar jolyonjoseph avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jolyonjoseph

extractss's Issues

Fix typos in readme code examples

For some code examples you're using curly double quotes (“). These need to be changed so the code works when copy and pasted.

e.g. This

lam_har_birm_coords <- subset_coords(coords, la = c(“Lambeth”, “Haringey”, “Birmingham”))

should be this (the colour coding should improve when it's right).

lam_har_birm_coords <- subset_coords(coords, la = c("Lambeth", "Haringey", "Birmingham"))

Improved error message for bad area name

Given you know through show_area_values all the valid values, can you throw an error message if an input to subset_coords is outside that?

For instance, if instead of saying 'Croydon' I say 'croydon', the error I get is a 502 error when it actually tries to query the API.

It'd be more helpful if subset_coords told me in advance something like:

'croydon' is not a valid setset, please run 'show_area_values()' for a list of valid areas.

Where this might especially trip people up is if you put multiple areas in, spelt one of them wrong, you would still get data, but might not immediately spot you had less than you wanted.

EOF within quoted string warning on package install

Warning in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
EOF within quoted string

This is happening due to the end of file being detected and potentially has something to do with quotes or the encoding of the text itself. This definitely occurred for the data dictionary, but the latest warnings don't provide a problem file.

Add linux install instructions to readme

Here is a set that worked for me (or at least gives the clue that installr isn't the right approach for linux.

In bash

# install devtools required packages
apt-get install libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev

In R prompt:

# install devtools and extractss from github
install.packages("devtools")
devtools::install_github("BlackThrive/extractss")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.