Code Monkey home page Code Monkey logo

iscrape's Introduction

Hi there ๐Ÿ‘‹

GitHub stats

Repositories

R Shiny

Web applications built in R using Shiny.

shiny-rnaseq-power Run power analyses for RNASeq experiments
shiny-nametagger Create name tags
shiny-doorsign Create door signage for office
shiny-planner A planner calendar
shiny-certificate Generate course certificates*
shiny-valkompass Runs PCA and plots your views on Swedish political latent space
pophelperShiny Visualise admixture proportions

Quarto and Rmarkdown

quarto-team Quarto extension to add a team layout
quarto-accordion Quarto extension to add accordions
specky Quarto website template for courses
quarto-reveal-logo Quarto extension to add logos to revealjs presentation
abstrave Quarto website template for courses
folium Quarto website template for NBIS projects
folium-webpage Quarto single page template for NBIS projects
minty Rmarkdown report and xaringan presentation template for NBIS projects
workshop-template-rmd-ga RMarkdown workshop website template with github actions
raukrtemplate Rmarkdown report and presentation template used for RaukR workshop 2018-2022

R packages

plummy ggplot2 custom themes
easyshiny Generate shiny app from single-cell transcriptomics data
pixture HTML image gallery with lightbox using htmlwidgets
pophelper Analyse and visualise admixture proportions
iscrape Instagram scrapper

Teaching

workshop-scRNAseq Single cell RNAseq analysis*
workshop-ngsintro Introduction to Bioinformatics using NGS data*
workshop-rnaseq Analyses of Bulk RNAseq data*
raukr-2023 RaukR 2023: Advanced R for Bioinformatics*
RaukR-2022 RaukR 2022: Advanced R for Bioinformatics*
RaukR-2021 RaukR 2021: Advanced R for Bioinformatics*
course-r 2 day R course for beginners
RaukR-2019 RaukR 2019: Advanced R for Bioinformatics*
RaukR-2018 RaukR 2018: Advanced R for Bioinformatics*
workshop-r 5 day R course for beginners*

Other

Fontcheck Interactive font preview
rskb Knowledgebase for RNASeq and scRNASeq
r-calendar Photo calendar for print using R
sk Skandia mortgage interest rates interactive plot
docker-zellkonverter Docker image to run zellkonverter

*Hosted on organisation account.

iscrape's People

Contributors

royfrancis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iscrape's Issues

Iscrape no longer pulling page_user data

I've installed iscrape (and re-installed it today to ensure it's the most up-to-date version). I've opened these libraries:
library(stringr)
library(devtools)
library(dplyr)
library(httr)
library(iscrape)

Then, no matter what account I try, I can't get the page_user function to pull properly. For example:
get_page_user("joebiden")

Here's the error I get:

Warning message:
In get_page_user("joebiden") :
Username joebiden did not return a valid web page.

I've double checked that the spelling is correct by logging in to the Instagram platform itself, and I've tried several different accounts with the same results.

Some accounts not scraping follower counts

Hello! I found this library a while back and have been using it to scrape Instagram followers from about 15 accounts. In the last several months, several (4) accounts that I track have started not working properly.

This one is working and returns a value (as of today) of 3,436 followers:

url <- get_page_user('tuftsmedicalcenter')
fw <- get_count_follower(url)

This one returns the following error after running the get_page_user function. I've checked that I have the account name correct and I do (https://www.instagram.com/cancercenter/?hl=en).
Warning message: In get_page_user("cancercenter") :
Username cancercenter did not return a valid web page.

url <- get_page_user('cancercenter')
fw <- get_count_follower(url)

This one returns the following error after running the get_count_follower function. The get_page_user function seems to have worked properly.
Error in if (stringr::str_detect(count_value, "k")) mlpy <- 1000 :
missing value where TRUE/FALSE needed

url <- get_page_user('brighamandwomens')
fw <- get_count_follower(url)

Did Instagram change its API?

Formerly, I had the tutorial script up and running, but now it returns errors:

get_page_info(c("instagram","travelandleisure","minimalism"))
username posts followers following
1 instagram NA NA NA
2 travelandleisure NA NA NA
3 minimalism NA NA NA
Warning messages:
1: In get_count_post(pu) :
Userpage did not return a post count. Instagram format may have changed.
2: In get_count_follower(pu) :
Userpage did not return a follower count. Instagram format may have changed.
3: In get_count_following(pu) :
Userpage did not return a following count. Instagram format may have changed.

It makes one wonder if Instagram closed up shop after the bad week that Facebook has had (?).

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.